- Code: Select all
Presentation example = new Presentation();
and 3 inner exceptions are generated:
System.TypeInitializationException: The type initializer for 'spr匊' threw an exception.
System.TypeInitializationException: The type initializer for 'Spire.Presentation.Drawing.ColorFormat' threw an exception.
System.PlatformNotSupportedException: System.Drawing.Common is not supported on this platform.
But my OS is Winows10 and coding version is .net 5.0 with FreeSpire.Office 8.2.0
I have tried installing 1. System.Drawing.Common; 2. System.Security.Cryptography.Xml; 3. System.Security.Permissions 4. System.Text.Encoding.CodePages but it does not work.