Creat a new .net core web api project
View Dependencies
See picture below.
Why is Microsoft.AspNetCore.App required twice? It is in the default csproj:
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.0.2105168" />
</ItemGroup>
And also under SDK.
I don't understand the reason for this, very confusing. If I remove it from csproj and do a clean and run, application runs
