Runtime: Detected package downgrade: Microsoft.NETCore.App from 1.1.2 to 1.1.1

Created on 10 May 2017  路  6Comments  路  Source: dotnet/runtime

Hi, after NuGet packages update I got this warning VS 2017 error list

Detected package downgrade: Microsoft.NETCore.App from 1.1.2 to 1.1.1
MyASPNETCoreProject (>= 1.0.0) -> Microsoft.VisualStudio.Web.CodeGeneration.Design (>= 1.1.1) -> Microsoft.NETCore.App (>= 1.1.2)
MyASPNETCoreProject (>= 1.0.0) -> Microsoft.NETCore.App (>= 1.1.1)

Actual situation
image

I'm trying to change target platform to netcoreapp 1.1.2 but in the project properties dialog, the combo contains only 1.0 and 1.1

I installed dotnet-dev-win-x64.1.0.4.exe

Most helpful comment

I am experiencing the same issue. I just upgraded my packages via NuGet and received exactly the same warning as @berets76.

All 6 comments

I am experiencing the same issue. I just upgraded my packages via NuGet and received exactly the same warning as @berets76.

I did the same thing in Visual Studio. I think the problem is there needs to be a manual update in the csproj file to update RuntimeFrameworkVersion to 1.1.2.

Update : I installed Visual Studio 2017 update version 15.2 (26430.04) , today's release (just 20 minutes ago) and reopening my solution all works, all projects are updated (to 1.1.2) and warning disappear.

So, install latest update of Visual Studio is the fix.

Here the update

Beware, however, that while VS 15.2 fixes one problem regarding the target framework, it causes another. Be prepared to update your csproj file to apply the fix if you host on Azure.

I'm hosting on Azure but using a VM, so I installed DotNetCore.1.0.5_1.1.2-WindowsHosting.exe on it and my VS publish/deploy works.
Useful information for Azure App Service deploy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aggieben picture aggieben  路  3Comments

nalywa picture nalywa  路  3Comments

EgorBo picture EgorBo  路  3Comments

btecu picture btecu  路  3Comments

yahorsi picture yahorsi  路  3Comments