Visual Studio 2017 cannot update Microsoft.NETCore.App package (“Blocked by project”)

前端 未结 8 1838
陌清茗
陌清茗 2020-12-08 18:22

I have a dotnet core app that is targetting Microsoft.NETCore.App 1.1.2. I created a test project to test against that project but when building I noticed this warning:

8条回答
  •  余生分开走
    2020-12-08 18:37

    Another possible solution. In the csproj file, update the target framework to the version you wish to upgrade to. After making the change, as per below snippets, the packages can be upgraded via the solution NuGet package manager.

    Before:

    
        netcoreapp2.0
    
    

    After:

    
        netcoreapp2.1
    
    

提交回复
热议问题