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.

Similar Posts:

Tags: , ,



One Comment to “Building .NET 3.0 projects from Team Foundation Build 2005 not supported”

  1. shai | December 17th, 2008 at 15:55

    hi maor,

    This is shai i met you in the last microfot academy III.

    You said i can build Vs 2005 sln with C++ projects
    with the team build 2008.
    I have searched for an article in your blog but didn’t found one of this kind.

    My problem is that the vcbuild the team build is using is the one of the v.s 2008 and i want it to use vcbuild of v.s 2005

    can you tell me please what can i do about it?

    thanks,
    shai

Leave a Comment