XamlStyler
XamlStyler copied to clipboard
Consolidate NuGet Packages to Align Versions
Describe the bug
Had pulled repro to look at fixing something and noticed there's a couple of packages Newtonsoft.Json and CompareNETObjects whose versions aren't aligned across the projects:
Not sure if want to switch to System.Text.Json at the same time or not, depends on what the scenarios are. Not sure if specific versions are being used due to issues that need to be addressed with upgrade or not.
Expected behavior NuGet packages dependencies should use the same versions across dependenct projects
Screenshots


Should be safe to update CompareNETObjects but there are gotchas with Newtonsoft.Json. Updating can lead to unexpected behavior on older versions of Visual Studio (#242). More information here: Using Newtonsoft.Json in a Visual Studio extension
Is this still an issue with the latest version?
CompareNETObjects had been updated since this issue was opened, but just created a PR to update packages across projects. Newtonsoft limitation still applies, though.