Aspnetcore: Cannot Upgrade Package Microsoft.AspNetCore.All to version 2.1.0

Created on 7 Jun 2018  ·  3Comments  ·  Source: dotnet/aspnetcore

When creating a new Asp.Net core app in visual studio it is impossible to update the Microsoft.AspNetCore.All package to version 2.1.0.

The project was created referencing 2.0.8 of this package. When attempting to upgrade I get the following error.

Severity Code Description Project File Line Suppression State
Error Package Microsoft.AspNetCore.All 2.1.0 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0) / win7-x64. Package Microsoft.AspNetCore.All 2.1.0 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1) 0

I have the latest version of visual studio installed 15.7.3 and Nuget 4.6

There is no option in Visual studio to select netcoreapp2.1.

Most helpful comment

All 3 comments

Have you installed the new SDK?

That's what I was missing. I was expecting to have this installed as part of Visual Studio.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidfowl picture davidfowl  ·  126Comments

danroth27 picture danroth27  ·  130Comments

MaximRouiller picture MaximRouiller  ·  338Comments

barrytang picture barrytang  ·  89Comments

reduckted picture reduckted  ·  91Comments