Reputation:
How do I downgrade the Microsoft.NETCore.App package in Visual Studio 2017?
The package manager shows it as 'Blocked by project'
I need to do this as Azure web apps do not yet have the 1.1.2 .NET Core runtime installed.
Upvotes: 1
Views: 3081
Reputation:
A specific version of the package can be used by editing the csproj file and adding a package reference that specifies Update instead of Include
<ItemGroup>
<PackageReference Update="Microsoft.NETCore.App" Version="1.1.1" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.1" />
Upvotes: 1