Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

Build Tools 2015 Update 3 build server error MSB3644 only .net 4.0

$
0
0

We use custom build server on Windows Server 2012 R2 64bit.
The build server uses MSBuild for building C# and C++ projects.

Installed programs are

  • Microsoft Build Tools 2015 Update 3
  • Microsoft .NET Framework 4.6.1 Developer Pack and Language Packs
  • Microsoft Visual C++ Build Tools 2015 Update 3

When building testing new empty class library csproj

  • for target framework 4.6.1 - builds Ok
  • for target framework 4.0 - builds FAILS with errorMSB3644

The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

Problem:

There is no Reference Assemblies folder v4.0 under c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\. There is onlyv4.6.1 folder.

Workaround:

Just copy this folder from your local PC (where VS was installed) to server.

Solution:

Microsoft please repair this problem and add missing referenceassemblies to package Microsoft Build Tools 2015 or toMicrosoft .NET Framework 4.6.1 Developer Pack package.




Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>