ststeiger / PdfSharpCore

Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
Other
1.08k stars 237 forks source link

Doesn't work in UWP projects. #338

Open IronShell1207 opened 1 year ago

IronShell1207 commented 1 year ago

Hello everyone. I have an issue to when compling release build with installed latest version of PdfSharpCore. App just crashes on launch without any exceptions. All i have is this type of messages in output when building. Please make sure the P/Invoke either points to a Windows API allowed in UWP applications, or a native DLL that is part of the package. If for some reason your P/Invoke does not satisfy those requirements, please use [DllImport(ExactSpelling=true) to indicate that you understand the implications of using non-UWP APIs.

And after launching i have next message: The target process aborted before activation completed. More information may be available in the Debug pane of the Output window

In debug build everything works perfectly. Last working version for me is 1.3.19.