Skip to content

Commit

Permalink
build: enable NuGet audit (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik authored Apr 22, 2024
1 parent 17ba7c6 commit 69f19f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
<LangVersion>12</LangVersion>
<NuGetAudit>true</NuGetAudit>
<NuGetAuditLevel>low</NuGetAuditLevel>
<NuGetAuditMode>all</NuGetAuditMode>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitVersion.MsBuild">
Expand Down
8 changes: 7 additions & 1 deletion src/Iesi.Collections/Iesi.Collections.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ Copyright © 2012 Oskar Berggren</Copyright>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="4.3.*" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="4.3.0" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 69f19f9

Please sign in to comment.