XamlStyler icon indicating copy to clipboard operation
XamlStyler copied to clipboard

Consolidate NuGet Packages to Align Versions

Open michael-hawker opened this issue 3 years ago • 1 comments

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 image

image

michael-hawker avatar Apr 01 '22 17:04 michael-hawker

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

grochocki avatar Apr 08 '22 05:04 grochocki

Is this still an issue with the latest version?

Jay-o-Way avatar Dec 24 '23 22:12 Jay-o-Way

CompareNETObjects had been updated since this issue was opened, but just created a PR to update packages across projects. Newtonsoft limitation still applies, though.

grochocki avatar Dec 27 '23 20:12 grochocki