Installing MSBuild 4.0 without Visual Studio 2010

后端 未结 3 1785
北荒
北荒 2020-12-07 09:17

I installed .NET 4.0 and VS 2010 RC on my laptop and MSBuild was automatically installed. I was hoping to build a continuous integration server by just installing the .NET

相关标签:
3条回答
  • 2020-12-07 09:59

    Perhaps this is the SDK disguised slightly as a Windows 7 SDK.

    Microsoft Windows SDK for Windows 7 and .NET Framework 4

    UPDATE: Based off of a blog posts on the Windows SDK Blog the SDK that I linked to above seems to contain msbuild and supports building managed (.NET) applications. I'm assuming this is the SDK we have all been looking for in order to install on our build servers so I'm downloading it now and I'll post any further findings after I check it out.

    UPDATE: I can confirm that the link provided above does indeed install MSBuild along with other portions of what would constitute an SDK for .NET 4.0. I'm successfully using this on my build machine now without installing Visual Studio 2010 to build our project.

    UPDATE: Please also see FrederikB's answer below as it appears that the whole SDK may not be required to get MSBuild 4.0. This would be especially useful if you need to set up a minimal build server. I haven't confirmed whether this works for me or not but it would be worth a try before installing the SDK.

    0 讨论(0)
  • 2020-12-07 10:02

    If you're looking for msbuild, you'll find that for 4.0 it's at:

    For 32-bit:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

    For 64-bit:

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe

    0 讨论(0)
  • 2020-12-07 10:10

    Using the .Net default MsBuild may not be enough. You can download the free MsBuild Tools for Visual studio here, and install all the dependencies used in your project.

    0 讨论(0)
提交回复
热议问题