error CS0433: The type 'ImageFormat' exists in both 'Aspose.Slides, Version=184.108.40.206, Culture=neutral, PublicKeyToken=716fcc553a201e56' and 'System.Drawing.Common, Version=6.0.0
Public System.Drawing.Imaging Types in Aspose.Slides.dll Cause Conflict
Thank you for contacting support.
Please share the simplest project that reproduces the error you are encountering.
A post was split to a new topic: The Type ImageFormat Exists in Both Aspose.Slides and System.Drawing.Common
Our developers have investigated the case. You should use extern alias for Aspose.Slides.
is the “external alias”-suggestion only valid for the current version or is it supposed to stay the same in future versions?
The issue is not related to Aspose.Slides directly because there may be two other libraries with the same issue. This is a C# mechanism used when two versions of assemblies with the same fully-qualified type names are added to your project. Therefore, it should also remain the same for future versions of Aspose.Slides for the case.