Build VS2010 sln (with unit tests) in TFS2008

Everything worked fine migrating VS2008 solution to VS2010 solution … didn’t it?!?

TFS2008 had a word, because of a reference: unit test projects have reference to Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll, version .
Of course!!!
TFS machine didn’t have .Net4.0 (or VS2010!!!) installed on…done!
Note: VS2010 doesn’t permit change target framework unit test projects, stuck to .Net 4.0, so installing .Net 4.0 is a must!

Again, TFS2008 wasn’t able find that .Net 4.0 assembly … MSBuild build path isn’t updated … yeah! šŸ˜‰
In order to add new libraries path, you have to updated build service config file (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\TfsBuildService.exe.config) and update MSBuildPath value with assemblies path.

full guide here: How To Build VS2010 Solutions Using TFS2008 Team Build

Technorati tags: TFS, Visual Studio, MSBuild, Unit Test

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: