Building .net 4.0 with TFS 2008

Did you know the TFS 2008 build agent can use MSBuild 4.0 to build VS 2010 solutions

On the Team Foundation Build 2008 machine:

  • Install .NET 4.0
  • Install Visual Studio 2010 (if you are running tests)
  • Edit the TFSBuildService.exe.config file and set the MSBuildPath value to v4

image