error CS0433: The type 'ImageFormat' exists in both
'Aspose.Slides, Version=23.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56' and
'System.Drawing.Common, Version=6.0.0
@simoncropp,
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
@simoncropp,
Our developers have investigated the case. You should use extern alias for Aspose.Slides.
More details:
Hello,
is the “external alias”-suggestion only valid for the current version or is it supposed to stay the same in future versions?
@AndreN,
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.