Remove dependency on System.Json for net6.0 #6273
Labels
difficulty/challenging 🤯
Categorizes an issue for which the difficulty level is reachable with internals understanding
kind/enhancement
New feature or request
project/third-party 3️⃣
Categorizes an issue or PR as relevant to 3rd party libraries
The System.Json nuget package is deprecated (note: this is a different package than System.Text.Json) and will cause issues when consumed from .NET6-based Xamarin apps.
The reason is that the package ships with
_._
entries for the legacy Xamarin TFMs which will be pulled in via NuGet compatibility fallbacks, however there is no System.Json assembly in the net6.0 shared framework (see dotnet/designs#222 for some lengthy discussion).To fix the issue you'll need to multi-targetting to net6.0 and remove the dependency on System.Json there.
/cc @jeromelaban
The text was updated successfully, but these errors were encountered: