Skip to content

Commit

Permalink
Use polyfill. (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Jul 18, 2023
1 parent d83d614 commit bf2f6e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion props/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BackwardsCompatibleFeatures" Version="2.3.0" PrivateAssets="all" IncludeAssets="compile" />
<PackageReference Include="Polyfill" Version="1.*" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
</ItemGroup>

<ItemGroup Label="Analyzers">
Expand Down
9 changes: 6 additions & 3 deletions src/Qowaiv/Qowaiv.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ v5.1.2
<ItemGroup>
<Compile Include="..\..\shared\Guard.cs" Link="Guard.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" Condition="'$(TargetFramework)'=='netstandard2.0'" />

<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit bf2f6e1

Please sign in to comment.