安装的MSBuild没有4.0的Visual Studio 2010MSBuild、Visual、Studio

2023-09-02 21:42:39 作者:い戀鉨ぷ訫痛

我安装了.NET 4.0和VS 2010 RC对我的笔记本电脑,并自动安装的MSBuild。我希望通过只在安装.NET SDK没有VS 2010打造一个持续集成服务器,所以我下载了微软的.NET 4.0框架,在此link.不幸的是,它似乎并没有与此下载安装的MSBuild(或至少我不能找到它)。

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 SDK without VS 2010, so I downloaded the .NET 4.0 Framework from Microsoft at this link. Unfortunately, it doesn't appear to have installed MSBuild with this download (or at least I can't find it).

这是链接的SDK适当的链接,或者这仅仅是运行?如果没有,哪里的链接SDK?

Is this link the appropriate link for the SDK, or is this just the runtime? If not, where is the link for the SDK?

我有点怀疑它是整个SDK,因为它是那里的.NET 3.5 SP1下载超过200MB仅35MB。

I kind of doubt it is the entire SDK as it is only 35MB where the .NET 3.5 SP1 download was over 200MB.

推荐答案

也许这就是作为Windows 7 SDK稍微伪装的SDK。

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

Microsoft Windows SDK的Windows 7和.NET Framework 4

更新:基于关闭的a博客帖子上的Windows SDK博客,我联系到上面的SDK似乎包含的MSBuild和支持构建管理(.NET)应用程序。我假设这是我们都一直在寻找,以便安装在我们构建服务器,所以我现在下载它的SDK,我会发布任何进一步的调查结果后,我检查出来。

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.

更新:我可以证实,上面提供的链接确实还有什么会构成SDK的.NET 4.0其他部分安装的MSBuild。我现在成功使用这对我的构建机器没有安装Visual Studio 2010中建立我们的项目。

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.

更新:另请参见下面FrederikB的答案,因为它似乎整个SDK可以不要求获得的MSBuild 4.0。如果您需要设置一个最小的构建服务器这将是特别有用。我还没有证实这是否适用于我或没有,但它会是值得安装SDK之前一试。

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.