Package [some package] is not compatible with netcoreapp1.0

后端 未结 4 477
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 01:45

On dotnet restore we are receiving the following error:

Package Microsoft.AspNet.SomePackage 5.6.7 is not compatible with netcoreapp1.0

4条回答
  •  时光说笑
    2020-12-10 02:30

    The short answer is, you can't. In some narrow cases you can use imports to override nuget's built in dependency rules. In this case you cannot, .NET Framework and .NET Core are incompatible. The errors says the package only supports net45 (.NET Framework 4.5). You cannot use it with your .NET Core application

提交回复
热议问题