Skip to content

Commit 767e7ab

Browse files
authored
chore: System.Text.Json build workaround (#3473)
1 parent 76e9f66 commit 767e7ab

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Sentry/Sentry.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,13 @@
8282

8383
<!-- Ensure at least version 6 of System.Text.Json so we have JsonSerializationContext available -->
8484
<ItemGroup Condition="!$(TargetFramework.StartsWith('net6')) and !$(TargetFramework.StartsWith('net7')) and !$(TargetFramework.StartsWith('net8'))">
85-
<PackageReference Include="System.Text.Json" Version="6.0.8" />
85+
<PackageReference Include="System.Text.Json" Version="6.0.8" >
86+
<!--
87+
Ignoring the vulnerability warning: https://github.com/advisories/GHSA-hh2w-p6rv-4g7w
88+
The app can/should pin to the latest version. We will bump once a patch on v6 (still LTS until Nov 24) is out
89+
-->
90+
<NoWarn>NU1903</NoWarn>
91+
</PackageReference>
8692
</ItemGroup>
8793

8894
<!--

0 commit comments

Comments
 (0)