Type Initialization Exception


Hi all,

I receive a System Type Initialization Exception, “The type initializer for ‘Gdip’ threw an exception.”, when trying to run the sample code for creating a powerpoint presentation at https://docs.aspose.com/display/slidesnet/Creating+and+Opening. The exception occurs in the line: presentation.Save(“NewPresentation_out.pptx”, Aspose.Slides.Export.SaveFormat.Pptx); regardless of the format selected.

I’m running v18.6



I have observed the issue shared by you and request you to please share the source presentation and working sample project reproducing the issue. We will investigate the issue further on our end to help you.