Consider updating Newtonsoft.Json #4792
Replies: 4 comments 6 replies
-
Kind of related, have you considered releasing official NuGet packages as part of your update workflow? |
Beta Was this translation helpful? Give feedback.
-
I would if there's a way we could update the project from .NET Framework to .NET Standard without breaking compatibility? .NET Standard 2.1 is available as an option in Unity 2021 LTS. @DanielWillett As in, of the Unturned Assembly-CSharp to NuGet? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Yeah, my original request was more so to fix some of the warnings Visual Studio gives out while adding more functionality in regards to JSON. For instance, my code used some methods for JObject that do not exist in that ancient version. The package for Newtonsoft.JSON already supports .NET Framework, so I'm not sure if an upgrade to .NET Standard is needed in relation to that. With that being said, plugins have full on support for netstandard. We simply just add the library netstandard.dll and any other libraries we are using in regard to that .NET version. I use .NET Standard 2.1 for modules and it works out perfectly fine so long as I include the library for it. Considering we already use it for most new plugins, you might be able to support .NET Standard 2.1 pretty easily. |
Beta Was this translation helpful? Give feedback.
-
7.0.1 doesn't play nice with .NET Standard 2.1 and it is marked with a security vulnerability which results in Visual Studio being annoying about it. I feel like it would be beneficial to upgrade to v13 as it has more to work with and still targets .NET Framework.
Beta Was this translation helpful? Give feedback.
All reactions