DCSIMG
Building .NET 3.0 projects from Team Foundation Build 2005 not supported - SRL Group

SRL Group

This blog is about Team System, QA and Development methodologies and more...

VSTS Resources

Team System Bloggers

Building .NET 3.0 projects from Team Foundation Build 2005 not supported

Building .NET 3.0/3.5 projects from Team Foundation Build 2005 not supported. Team Foundation Build 2005 will always invoke the 2.0 Framework's MSBuild.exe, which does not support building solutions that target the 3.5 Framework.  (The 3.0 Framework shipped with Vista, while the 3.5 Framework is shipping with VS 2008.)

The 3.5 Framework includes new MSBuild bits which allow multi-targeting - i.e. MSBuild 3.5 can target the 2.0 Framework.

We can convert our solution to VS2008 beta 2 and target the solution to .NET framework 2.0. It's not enough. When we'll try to build this solution with Team Foundation Build 2005, we'll get an error MSB5014 - File format version is not recognized.

The MSBuild blog has great post about MSBuild, Orcas, and Multi-targeting. Find it here.

Comments

ekampf said:

# September 10, 2007 8:40 AM

Maor David-Pur said:

Eran, I agree with that post and solution (really cool solution) but it is so unnaturally, that from my point of view, you must do it on seperate build machine.

# September 10, 2007 10:06 PM

Team System News said:

Buck Hodges on Dave McKinstry on Build in TFS 2008. Brian Keller on A More Reliable and Faster Download...

# September 11, 2007 4:20 PM

Maor David's Blog said:

I posted at SRLTeam blog 2 posts about msbuild. The first is about building data dude projects with SqlBuildTask.

# September 14, 2007 7:30 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: