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
You should install the new version of SDK. There are many solutions for this issue in GitHub such as https://github.com/dotnet/core/issues/1675
Solved it by updating Visual Studio to it's latest version (for me it was 15.3.3)
Also, make sure SDK is updated to version 2.0 and NuGet to its latest version.
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.