Hello,
our problem is that we if we want to upgrade to the (currently) latest MilestoneSystems.VideoOS.Mobile.SDK 22.3.0 NuGet we are getting this error message:
Install failed (project: AAA, package: MilestoneSystems.VideoOS.Platform.SDK v22.3.2) Unable to resolve dependencies. ‘Newtonsoft.Json 13.0.2’ is not compatible with ‘MilestoneSystems.VideoOS.Mobile.SDK 22.3.0 constraint: Newtonsoft.Json (= 12.0.3)’.
We are using Newtonsoft.Json 13.0.2 and we do not want to go back to keep the package as up to date as possible.
What are the possibilities to keep both packages updated?
Hi Peter,
There’s no way for us in Milestone to consistently be up-to-date with the latest versions of all 3-rd party dependencies. This is just not possible, given that a new version may be released at any time, while our release schedule is fixed.
Also - you want the latest and greatest Newtonsoft.Json version but other integrators might want to stick with an older one (be it 12.0.3 or any older version) for some reason.
Luckily, DLL hell a known problem and several universal approaches exist for coping with it.
Here are a couple of resources on the topic, proposing some good and tested ideas:
I’m sure you can do better than me if you go out there and search for the most appropriate (for you) solution.
Regards,
Nikolay