[Deps]Set System.Text.Json version to 8.0.4 (#33867)

## Summary of the Pull Request

Sets the System.Text.Json version to 8.0.4
This commit is contained in:
Jaime Bernardo
2024-07-16 16:17:53 +01:00
committed by GitHub
parent 5159c76976
commit d27ac581ac
11 changed files with 21 additions and 2 deletions

View File

@@ -91,6 +91,8 @@
<PackageReference Include="WPF-UI" />
<!-- HACK: Microsoft.Extensions.Hosting is referenced, even if it is not used, to force dll versions to be the same as in other projects. Really only needed since OneNote uses the LazyCache and NLog dependencies, which references older assemblies. -->
<PackageReference Include="Microsoft.Extensions.Hosting" />
<!-- HACK: To make sure the version pulled in by Microsoft.Extensions.Hosting is current. -->
<PackageReference Include="System.Text.Json" />
<PackageReference Include="System.Diagnostics.EventLog">
<!-- This package is a dependency of Microsoft.Extensions.Logging.EventLog, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->