How can I add a VS 2010 .Net 4.0 build agent to TFS 2008

穿精又带淫゛_ 提交于 2019-12-09 13:07:42

问题


My company has two development teams using TFS 2008. My team would like to migrate our .Net 3.5 app to the .Net 4.0 framework, but the company is not ready to upgrade TFS to TFS 2010.

Can we still use TFS 2008's team build system but with a Visual Studio 2010 solution/project structure that targets the .Net 4.0 framework?

I am thinking we would need to add a new build agent to TFS 2008 that would have VS 2010 installed. But I am not finding any information on how to do this.

Is this possible? Are there any articles explaining how to do this?


回答1:


Google and Bing haven't found this nugget yet, but William Bartholomew at Microsoft has explained how to do this.

http://blogs.msdn.com/willbar/archive/2009/11/01/building-net-4-0-applications-using-team-build-2008.aspx




回答2:


Actually, it is not possible to use a TFS2010 build agent with a TFS2008 server. (what you asked for)

You can however, use the TFS2008 build agent to build .Net 4.0 / VS2010 solutions (this what the accepted answer is linking to). This gets the job done, but you don't get the improved build engine (workflow) and reporting of 2010, but you can't use that anyway with your 2008 server!

This really is the only way to go until you can migrate to a TFS2010 server.



来源:https://stackoverflow.com/questions/2463285/how-can-i-add-a-vs-2010-net-4-0-build-agent-to-tfs-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!