We are encountering a strange situation in our conversion library built on top of your components.
We are trying to add conversion of CAD formats to PDF but we get the
Aspose.CAD.CadExceptions.ImageSaveException: Image export failed. —> System.IO.FileLoadException: Could not load file or assembly ‘Aspose.Pdf, Version=220.127.116.11, Culture=neutral, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
error when trying to use this code
- The sample app in github will work for us for both .NET 4.0 and .NET 4.5.2
- We are referencing Aspose.CAD version 18.3.0 from nuget
- Out library also loads Aspose.PDF 18.4.1; exporting CAD formats to PDF when this library is referenced does not work
- Our library will convert CAD to PDF correctly if we downgrade Aspose.PDF component to version 18.1.0 (just as the exception is suggesting)
We would like to keep Aspose.PDF to the latest version and have CAD conversion to PDF in place.
Is there anything we can do to tweak the code to make it work with Aspose.PDF 18.4.1?