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

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

    Note - by adding "net451" to the framework imports I was able to make it work.

    "frameworks": {
       "netcoreapp1.0": {
          "imports": [
             "net451",
             "dotnet5.6",
             "portable-net45+win8"
           ]
       }
    },
    

    I took it from here

提交回复
热议问题