Add .NET Standard 2.1 workaround

- we don't have dotnet/sdk#3463 fix
This commit is contained in:
Doug Bunting 2019-07-30 07:24:14 -07:00 committed by William Godbe
parent 91ff3ce91c
commit a453cb259e
1 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,13 @@
</RestoreSources>
</PropertyGroup>
<!-- Workaround for netstandard2.1 projects until we can get a preview 8 SDK containing https://github.com/dotnet/sdk/pull/3463 fix. -->
<ItemGroup>
<KnownFrameworkReference Update="NETStandard.Library">
<RuntimeFrameworkName>NETStandard.Library</RuntimeFrameworkName>
</KnownFrameworkReference>
</ItemGroup>
<!-- Workaround until we can build our repo with a 3.0 Preview 7 SDK which has https://github.com/dotnet/core-sdk/pull/2401. -->
<ItemGroup Condition="'$(PreReleasePreviewNumber)' == '7' ">
<KnownFrameworkReference Update="Microsoft.NETCore.App">