icerpc / icerpc-csharp

A C# RPC framework built for QUIC, with bidirectional streaming, first-class async/await, and Protobuf support.
https://docs.icerpc.dev
Apache License 2.0
102 stars 13 forks source link

Fix / work around for System.Text.Json NuGet Audit error #4034

Closed bernardnormier closed 2 weeks ago

bernardnormier commented 2 weeks ago

Fixes #4032 Fixes #4020

It appears that Microsoft.Extensions.Logging.Console and other Microsoft extensions pull 8.0.0 version of System.Text.Json, which triggers a NuGet Audit error.

Adding an explicit dependency on System.Text.Json=8.0.* solves this issue.