Skip to content

Commit

Permalink
Add .NET Standard 2.1 workaround
Browse files Browse the repository at this point in the history
- we don't have dotnet/sdk#3463 fix
  • Loading branch information
dougbu authored and wtgodbe committed Jul 30, 2019
1 parent 91ff3ce commit a453cb2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eng/Workarounds.targets
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit a453cb2

Please sign in to comment.