Updating to ASP.NET Core 2.0 - Packages are not compatible with netcoreapp2.0

后端 未结 3 1508
清酒与你
清酒与你 2021-02-06 23:36

I\'m trying to update to NET Core 2.0 but I\'m getting these errors on all the packages installed with the reference.

The problem, maybe:

I\'m g

3条回答
  •  心在旅途
    2021-02-07 00:07

    Also, this error can occur with an outdated version of nuget. Specifically, 4.0.0 exhibits this issue. Upgrading to 4.3.0 fixed the problem for me.

    VSTS agents seem to use 4.0.0, so to work around this, there is a nuget version installer task which you can run as part of your build step to upgrade the version of nuget running in your build pipeline.

提交回复
热议问题