We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

TypeInitializationException Is Thrown when Converting PPS to ODP in C#

I’m building an application that runs on both windows and macos.

This application converts pps to odp.

On Windows (10) it works but on MacOs I get:

TypeInitializationException:The type initializer for ‘Gdip’ threw an exception.

We’re using the latest AsposeSvg and the app is built in .net 6.

See code example:

AsposeSlides.zip (3.3 MB)

@nielsbosma,
Thank you for reporting the issue.

I’ve added a ticket with ID SLIDESNET-43227 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate this case. You will be notified when the issue is resolved.

Any updated? The ticket says BLOCKED?

@nielsbosma,
The issue has been blocked by other issue (.NET 6 support).
.NET 6 support has been planned for version 22.7. After solving this task, we will be able to solve the problem you are facing.

Hi 22.8.0 is now out but the issue persists.

@nielsbosma,
Unfortunately, Aspose.Slides does not support .NET 6 yet. It has been moved to version 22.11. I’ve linked this forum thread to the issue with ID SLIDESNET-42778 (.NET 6 Support). When this is done, you will be notified.

The issues you found earlier (filed as SLIDESNET-42778) have been fixed in Aspose.Slides for .NET 23.2 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.