We want to make sure that Microsoft.NETCore.App has a reference to Microsoft.NETCore.Targets
so that the latest version is used and none of the old pre-2.0 runtime-specific packages get
brought into the package graph.
We were trying to do this before but it was failing because we weren't directly referencing the package.
In the future we could change this target to use the SDK assets file raising task then read the version
that was actually restored instead of forcing us to keep a direct reference to it.
Commit migrated from https://github.com/dotnet/core-setup/commit/
389727cb4feb5274aeeb8e9c25c9ba346d1429b3
<PackageReference Include="Microsoft.NETCore.Platforms">
<Version>$(MicrosoftNETCorePlatformsPackageVersion)</Version>
</PackageReference>
+ <PackageReference Include="Microsoft.NETCore.Targets">
+ <Version>2.0.0</Version>
+ </PackageReference>
<PackageReference Include="NETStandard.Library">
<Version>$(NETStandardLibraryPackageVersion)</Version>
</PackageReference>