How to order the Team Foundation Build to use MSBuild from .Net Framework 4.0?
How to build Visual Studio 2010 solutions in Team Build 2008?
Error you see in your build log is:
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
Building with tools version "3.5".
The solution:
- Open C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\tfsbuildservice.exe.config
or C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\tfsbuildservice.exe.config
- change add key="MSBuildPath" value="" to add key="MSBuildPath" value="C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319"
- restart "Visual Studio Team Foundation Build" Service
No comments:
Post a Comment