Skip to content

Commit 35d1d16

Browse files
authored
Merge branch 'master' into feature/new-bithelper-apis
2 parents 4bd280a + 76032fe commit 35d1d16

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UnitTests/UnitTests.NetCore/UnitTests.NetCore.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
1313
</ItemGroup>
1414

15+
<!-- Workaround for the .NET Core 2.1 binary not resolving the Unsafe assembly properly -->
16+
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
17+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.1" />
18+
</ItemGroup>
19+
1520
<ItemGroup>
1621
<ProjectReference Include="..\..\Microsoft.Toolkit\Microsoft.Toolkit.csproj" />
1722
</ItemGroup>

0 commit comments

Comments
 (0)