groege / PdfSharpCore

PdfSharp port NetCore
47 stars 13 forks source link

Crash: PdfSharp.Xamarin.Forms already initialized before #24

Closed gannesh1996 closed 4 years ago

gannesh1996 commented 4 years ago

I use PDFSharp.Xamarin.Forms in my app (Android and iOS). I initiated the package in MainActiviy.cs:

x7ug5kh1mlzj

This works in general, but sometimes I get a strange error which causes my app to crash:

System.InvalidOperationException: PdfSharp.Xamarin.Forms already initialized before.

This happens at random during the use of my app.

groege commented 4 years ago

I use PDFSharp.Xamarin.Forms in my app (Android and iOS). I initiated the package in MainActiviy.cs:

x7ug5kh1mlzj

This works in general, but sometimes I get a strange error which causes my app to crash:

System.InvalidOperationException: PdfSharp.Xamarin.Forms already initialized before.

This happens at random during the use of my app.

Seems like you use a nuget version right? I did not put it on nuget but mutliple people have forked this project and adapted it, maybe look at the nuget package, there should be a link to your version.

LG

gannesh1996 commented 4 years ago

Correct, I use NuGet. Should I contact the owners here https://www.nuget.org/packages/PdfSharp.Xamarin.Forms/1.0.0?_src=template ?

groege commented 4 years ago

Yeah - just go to the project site 👍

On Tue, Jul 7, 2020, 02:49 gannesh1996 notifications@github.com wrote:

Correct, I use NuGet. Should I contact the owners here https://www.nuget.org/packages/PdfSharp.Xamarin.Forms/1.0.0?_src=template ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/groege/PdfSharpCore/issues/24#issuecomment-654534976, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVBMRSBIBKWRGDJ4UOZL23R2JWJRANCNFSM4OQDA4VQ .