Skip to content

Commit

Permalink
Only include System.ComponentModel.Annotations on .NET Standard 2.0 TFM
Browse files Browse the repository at this point in the history
  • Loading branch information
henkmollema committed Jan 17, 2024
1 parent 5f4e06e commit 61246de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Dommel/Dommel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Dapper" Version="2.1.28" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
</ItemGroup>
</Project>

0 comments on commit 61246de

Please sign in to comment.