Wednesday, April 02, 2008

TFS 2005 + VS 2008 - Trying to get them work together?

We had problem setting up CI. Had difficulty in setting up CI in TFS 2005 for VS 2008 solution. They are incompatible. MSBuild of TFS 2005 does not support VS 2008 solution. If your TFS build log had the below error,

... File format version is not recognized. MSBuild can only read solution files between versions 7.0 and 9.0, inclusive.

Then here are few things you can try.

Upgrading TFS 2008 looks like a safe thing to do – claim is that it is backward compatible.

http://weblogs.asp.net/dmckinstry/archive/2007/08/27/considerations-on-using-tfs-2008-with-visual-studio-2005.aspx

If upgrade is not possible, below solution looks like a quicker and safer (as this would be applicable only to our project) solution to begin with (but it is a hack and I hope the unit test and code analysis also works)

http://tfsnow.wordpress.com/2007/08/22/building-visual-studio-2008-under-team-build-2005/

http://weblogs.asp.net/dmckinstry/archive/2007/08/27/introduction-to-team-build-2008-for-team-build-2005-users.aspx

0 comments: