Added System.Memory NuGet package reference for supported frameworks

pull/133/head
dahall 2020-05-14 17:51:09 -06:00
parent 29fae55e15
commit d1f19d705b
1 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,11 @@ CorrespondingAction, StringListPackMethod
<Version>4.5.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'netcoreapp2.0' Or $(TargetFramework.StartsWith('netstandard')) ">
<PackageReference Include="System.Memory">
<Version>4.5.4</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Compile Remove="InteropServices\SafeIDispatch.cs" />
<Compile Remove="InteropServices\StructMarshaler.cs" />