I have a project that was building fine in VS 2008, and then we installed and started using TFS Build, and then we upgraded to TFS 2010. Everything was still fine and build
An even more simple approach with adding an environment variable for VCTargetsPath
:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
Control Panel > System > Advanced Settings > Advanced > Environment Variables
VCTargetsPath