runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open berets76 opened this issue 9 years ago • 6 comments

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

berets76 avatar May 10 '17 14:05 berets76

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

sebastianbk avatar May 10 '17 15:05 sebastianbk

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.

cbeall avatar May 10 '17 16:05 cbeall

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

berets76 avatar May 10 '17 16:05 berets76

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.

breyed avatar May 11 '17 12:05 breyed

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.

berets76 avatar May 11 '17 15:05 berets76

Issue moved to dotnet/core-setup dotnet/coreclr#2360 via ZenHub

gkhanna79 avatar May 11 '17 15:05 gkhanna79