Detected package downgrade: Microsoft.NETCore.App from 2.1.3 to 2.1.0

后端 未结 8 656
遇见更好的自我
遇见更好的自我 2021-01-01 09:12

I try to update my .net solution from .NET Core 1.1 to .NET Core 2.1. I have several .NET Core and .NET standard projects inside, which reference each other and another NuGe

相关标签:
8条回答
  • 2021-01-01 09:51

    I had a missing version in the csproj file.

    Adding the version fixed the issue.

    0 讨论(0)
  • 2021-01-01 10:02

    I also had this problem after installing a new version of .Net Core (2.0 to 2.1). The below link gave me a hint of what caused the problem.

    https://github.com/dotnet/cli/issues/9433

    The solution for me was to change the project's Target Framework to the latest installed .Net Core version.

    Project Properties > Application > Target Framework
    
    0 讨论(0)
提交回复
热议问题