Package missing 2.1.3 on upgrade from 2.0 to 2.1 (up to date packages as per NuGet store)
In upgrading existing app from .net core app 2.0 to 2.1, I'm getting the following error on run output (aspnet core webserver)
It was not possible to find any compatible framework version The specified framework 'Microsoft.AspNetCore.App', version '2.1.3' was not found.
- Check application dependencies and target a framework version installed at: C:\Program Files\dotnet\
- Installing .NET Core prerequisites might help resolve this problem: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
- The .NET Core framework and SDK can be installed from: https://aka.ms/dotnet-download
- The following versions are installed: 2.1.2 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
I don't see 2.1.3 SDK on the download page.. (the one brings 2.1.3 version packages to dotnet store)
Steps to reproduce -
- Update Visual studio to latest ( 15.8.2 as on today)
- Follow instruction to udpate 2.0 to 2.1 .net core app https://docs.microsoft.com/en-us/aspnet/core/migration/20_21?view=aspnetcore-2.1
- Update all packages using Nuget Package manager
Run the application, you will see the above exception.
I have also read the rollforward version approach in the documentation without specifying the version in the package reference (leaving the version to run time to pick most uptodate from dotnet store).
I see the new project template is not specifying the version, but upgrade recommends to put the version.
What is the correct approach?

Hello @Janidbest ... They changed it. They do want everyone to set the App package version explicitly now. You are correct to go for 2.1.3 for latest ... but ...
That's strange ... 2.1.3-servicing-26724-03. 🙈 Try re-installing the 2.1.401 SDK. Look inside the folder after the install and see that 2.1.3 is there ...
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
Get the SDK installer from the .NET Core downloads page :point_right: https://www.microsoft.com/net/download