简体   繁体   English

使用TFS 2008构建VS 2010项目-TFS服务器应使用哪个版本的VS?

[英]TFS 2008 to Build VS 2010 Projects - what version of VS should go on the TFS Server?

I need to get VS 2010 projects that are using Visual Studio Tests building on a TFS 2008 build server. 我需要获取在TFS 2008构建服务器上使用Visual Studio Tests构建的VS 2010项目。 I didn't want to have to install VS 2010 but am now willing to do so after trying the advice one person posted here: 我不想安装VS 2010,但在尝试了一个张贴在这里的建议后,现在愿意这样做:

http://www.richard-banks.org/2009/11/how-to-build-vs2010-solutions-using.html http://www.richard-banks.org/2009/11/how-to-build-vs2010-solutions-using.html

and some other posts I've found but am still getting errors from the VS Test dlls. 和其他一些我发现的帖子,但仍然从VS Test dll中得到错误。

What version of VS 2010 do I need to install to support builds with VS Tests for a TFS 2008 build server? 我需要安装哪个版本的VS 2010,以支持VS Tests for TFS 2008构建服务器的构建?

I was able to get VS 2010 projects to build using TFS 2008 source only by installing Team Foundation Server Build and Team Foundation Server 2010 Build agents. 仅通过安装Team Foundation Server Build和Team Foundation Server 2010 Build代理,我才能使VS 2010项目使用TFS 2008源进行构建。 I also had to install Microsoft Windows SDK for Windows Server 2008. 我还必须安装Windows Server 2008的Microsoft Windows SDK。

I followed the advice here as well to set TFS 2008 build agent to use .net 4: http://www.richard-banks.org/2009/11/how-to-build-vs2010-solutions-using.html 我也按照这里的建议将TFS 2008构建代理设置为使用.net 4: http : //www.richard-banks.org/2009/11/how-to-build-vs2010-solutions-using.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM