在没有 Visual Studio 2010 的情况下安装 MSBuild 4.0 [英] Installing MSBuild 4.0 without Visual Studio 2010

查看:36
本文介绍了在没有 Visual Studio 2010 的情况下安装 MSBuild 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在笔记本电脑上安装了 .NET 4.0 和 VS 2010 RC,并且自动安装了 MSBuild.我希望通过安装 .NET SDK 而无需 VS 2010 来构建持续集成服务器,因此我从 Microsoft 下载了 .NET 4.0 框架 链接.不幸的是,它似乎没有通过此下载安装 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,因为它只有 35MB,而 .NET 3.5 SP1 下载超过 200MB.

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

推荐答案

也许这是 SDK 稍微伪装成 Windows 7 SDK.

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

Microsoft Windows适用于 Windows 7 和 .NET Framework 4 的 SDK

更新: 基于 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.

更新:我可以确认上面提供的链接确实安装了 MSBuild 以及构成 .NET 4.0 的 SDK 的其他部分.我现在在我的构建机器上成功地使用了它,而无需安装 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 的回答,因为似乎获取 MSBuild 4.0 可能不需要整个 SDK.如果您需要设置最小的构建服务器,这将特别有用.我还没有确认这是否适合我,但在安装 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.

这篇关于在没有 Visual Studio 2010 的情况下安装 MSBuild 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆