I have a C# Class Library (Project A) which needs Newtonsoft.Json DLL version 10.
But then I have another C# Class Library (Project B) which needs Newtonsoft.Json DLL version 6.
I cannot upgrade project B to use 10 because there are too many breaking changes.
Is it possible to have both versions exist together?
My issue is Project A has a Google.Apis dependency which is what has the dependency on Newtonsoft.Json DLL, so I cannot simply rename the DLL and have them both in the same directory.
I've seen other solutions mentioning an App.Config file but since this is a class library it doesn't have a config file.
Is there anyway to do this?