lunes, 28 de junio de 2021

Error MSB3644 The reference assemblies for .NETFramework,Version=v4.7 were not found.

Severity Code Description Project File Line Suppression State

Error MSB3644 The reference assemblies for .NETFramework,Version=v4.7 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks GestionInventario.WebApi C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 1180  


Descargar he instalar:

https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net47-developer-pack-offline-installer


The reference assemblies for framework “.NETFramework,Version=v4.6.2” were not found

 Error MSB3644 The reference assemblies for framework ".NETFramework,Version=v4.6.2" 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. C:\RPR\Dev\Libraries\Common\Common.csproj C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 


Resulta que había instalado .NET Framework v4.6.2, no el Developer Pack para 4.6.2.


https://www.microsoft.com/en-us/download/details.aspx?id=53321