Noticed at compile time, GroupDocs.Total is okay with NewtonSoft.Json v13.
But at run time, when using GroupDocs.Conversion, it requires v12 instead?
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Could not load file or assembly ‘Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
@jarrodwee
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): GRPDOCSTOTAL-23
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We need some more details. Could you please provide a sample project and share environment details (OS, target platform), because we could not reproduce this issue on our side.
Unfortunately, I’m using GroupDocs.Total within a host application whereby I don’t have the option of modifying the host app’s config file to perform runtime binding redirection.
Thank you for sharing these links. We appreciate your help and will explore them to see how they can be helpful in our further investigations. Your contribution is valuable to us.
You’re welcome, was hoping to also help anyone else who might happen to encounter such issues and need to perform dynamic assembly binding in their project whereby they are not able to specify binding redirection in the application’s config file.
Meanwhile, I’ve updated the previously provided sample project’s Program.cs file pasted below for easy reference.
Interestingly, when running the below, it shows that there’s another DLL which cannot be resolved.
It appears that Aspose.PDF is referencing Aspose.Imaging and .NET is unable to resolve it.
However, I tested image conversion and it appears to work fine - but your dev team may want to look into it just in case.
Your insights and findings on this matter are greatly appreciated. Thank you for sharing these details, as they will undoubtedly prove valuable during our investigation.