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

后端 未结 4 485
伪装坚强ぢ
伪装坚强ぢ 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:15

    If you need to do the same thing but are using the new .csproj for configuration rather than the project.json, edit your .csproj file and add the following right below the propertygroup:

    
        net451;dotnet5.6;portable-net45+win8
    
    

    Taken from here.

提交回复
热议问题