Skip to content

Commit

Permalink
Upgrade System.Net.Http from 4.1.0 to 4.3.4 to fix the vulnerability (C…
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie committed Sep 19, 2023
1 parent 62c0ad8 commit 6230eb1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@
-->
<NoWarn>$(NoWarn);NETSDK1138</NoWarn>
</PropertyGroup>

<!-- Bump NETStandard.Library to a version that doesn't transitively reference a System.Net.Http that causes CG alerts -->
<ItemGroup Condition="'$(IsUnitTestProject)' == 'true'">
<PackageReference Include="NETStandard.Library" Version="2.0.3" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<!-- Bump NETStandard.Library to a version that doesn't transitively reference a System.Net.Http that causes CG alerts -->
<PackageReference Include="NETStandard.Library" Version="2.0.3" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<!-- Bump NETStandard.Library to a version that doesn't transitively reference a System.Net.Http that causes CG alerts -->
<PackageReference Include="NETStandard.Library" Version="2.0.3" />
</ItemGroup>

</Project>

0 comments on commit 6230eb1

Please sign in to comment.