pkese / csproj-convert

Automatically convert old style .csproj files into dotnet-core
MIT License
29 stars 3 forks source link

Build fails #3

Closed tsauvajon closed 6 years ago

tsauvajon commented 6 years ago

Not the same error as #2

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.