Skip to content

Commit

Permalink
Fix STJ audit warning in installer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ericstj committed Oct 15, 2024
1 parent 880fa5d commit 8c30618
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/installer/tests/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<Project>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
<!-- Update and drop package assets from Json, we'll use the framework version -->
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" PrivateAssets="All" ExcludeAssets="All" />
</ItemGroup>

<Target Name="SetupTestContextVariables"
Condition="'$(IsTestProject)' == 'true'"
DependsOnTargets="
Expand Down

0 comments on commit 8c30618

Please sign in to comment.