Microsoft.AspNetCore.App 2.1.1 upgrade “Blocked by project”

后端 未结 8 1556
死守一世寂寞
死守一世寂寞 2020-12-05 04:05

I\'m trying to upgrade a .net core 2.1 project to the latest version of Nuget packages such as Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1.

However t

相关标签:
8条回答
  • 2020-12-05 04:39

    As @Simon_Weaver said this happens when no version specified and 2.1.301 SDK is not present in a system

    0 讨论(0)
  • 2020-12-05 04:43

    Editing my .csproj file and adding the following line worked for me:

    <PackageReference Include="Microsoft.NetCore.App" Version="2.1.1" />
    
    0 讨论(0)
提交回复
热议问题