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
As @Simon_Weaver said this happens when no version specified and 2.1.301 SDK is not present in a system
Editing my .csproj file and adding the following line worked for me:
<PackageReference Include="Microsoft.NetCore.App" Version="2.1.1" />