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

后端 未结 8 1589
死守一世寂寞
死守一世寂寞 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:27

    In my case it was caused by missing Version attribute on Microsoft.AspNetCore.App.

    For some reason when the WebApi project was created the package was referenced like this:

    
    

    Adding the missing attribute resolved all issues with updates and builds on the build server.

    
    

提交回复
热议问题