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.
I have the 4.6.2 SDK installed, and I'm not sure how to proceed with this error.
This happens when running dotnet run or dotnet build.
I changed the target framework to <TargetFramework>netcoreapp2.0</TargetFramework> and it builds.
Not the same error as #2
I have the 4.6.2 SDK installed, and I'm not sure how to proceed with this error.
This happens when running
dotnet run
ordotnet build
.I changed the target framework to
<TargetFramework>netcoreapp2.0</TargetFramework>
and it builds.