How do I get msbuild.exe? Can it build a .vcproj when VS2008 is not installed?

15,421

Solution 1

  1. msbuild is installed with the framework itself, not just the SDK. So you don't need to download any SDKs.
  2. No, you won't get nmake at the same time.
  3. Yes, you'll be able to build solution and project files without Visual Studio being installed.

Admittedly I've never tried any of these things (as I always have VS installed) but my understanding is that the above is correct.

Solution 2

As Jon stated MSBuld is installed with the .NET framework. To build managed projects you don't need Visual Studio, but to build .vcproj files you will have to have Visual Studio installed. With Visual Studio 2010 .vcproj files are MSBuild files so this requirement is lifted.

Share:
15,421
Cheeso
Author by

Cheeso

I'm a longtime hacker and software practitioner. Creator of IIRF, DotNetZip, ReloadIt, CleanModQueue and a bunch of other Apigee-related tools and scripts. Maintainer of csharp-mode and a few other emacs-y things . I'm a Polyglot: Java, JavaScript, golang, a little PHP, C#, some VB.NET, C, XSLT, Powershell, elisp of course. Currently most of the work I do is JavaScript and NodeJS. I work for Google. We're hiring API geeks around the world. see: https://careers.google.com/jobs#t=sq&q=j&li=20&l=false&jlo=en-US&j=apigee See my blog ...or my Github profile ...or my LinkedIn profile

Updated on June 07, 2022

Comments

  • Cheeso
    Cheeso almost 2 years

    I know msbuild will be installed, if I install Visual Studio 2005 or 2008.

    I know msbuild is also installed if I install the .NET Framework SDK.

    As of .NET 3.0, I think there is no longer a separate ".NET Framework SDK". Instead if I want the free SDK stuff - all the .NET command line tools, all the base class libraries - then I can download the Windows SDK, and install the .NET portion of it. I will also get the msbuild tool if I do this. (Right?)

    Now to my questions:

    1. Will I get msbuild if I install one or more parts of the Windows SDK that does not include the .NET SDK?

    2. Will I get nmake, too?

    3. If I don't have Visual Studio installed, will MSBuild be able to build a .sln file that references a .vcproj file? I know msbuild can build .vbproj and .csproj, but can it build .vcproj? I also think that for VS2010, the .vcproj file changes to the ".csproj format". But this is a .vcproj from vs2008.


    I am distributing some source code and I want to describe what is required to build the source. I know the source can be built with VS 2008. I want to also describe how it can be built without VS2008.

    Thanks.