Reference assemblies for the ".NETFramework, Version = v4.5" framework were not found in TFS2010

I get below the error, and build in TFS 2010:

C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Microsoft.Common.targets: no reference assemblies for the framework ".NETFramework, Version = v4.5" were found. To solve this problem, install the SDK or Targeting Pack for this version of the framework or reconfigure the application to the version of the framework for which the SDK or Targeting Pack is installed. Note that assemblies will be resolved from the global assembly cache (GAC) and will be used instead of referenced assemblies. Therefore, your assembly may not be properly configured for the framework you are planning.

Please suggest what to do?

+3
source share
2 answers

Install the SDK or copy the contents of the following folder from the development machine to the build server: C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \

+11
source

Install VS 2013 on the build server.

-8
source

All Articles