PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Nov 10, 2024 7:48 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Apr 08, 2021 1:00 pm 
Offline

Joined: Thu Apr 08, 2021 12:39 pm
Posts: 3
Hey everyone,

when I try to access my PdfAcroForm form.Fields by either integer or name, I get the following error:

System.IO.FileNotFoundException: "Could not load file or assembly 'System.Drawing.Common, Version = 4.0.2.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

I can access the forms.Fields.Count variable though and it returns the correct number of fields for different pdf forms. Tried installint System.Drawing.Common via nuget but only 5.something and 4.5 were available. Installing 4.5 doesnt change the error, installing 5.something changes the error but still doesnt work.

Maybe related to this: https://github.com/empira/PDFsharp/issues/55 ?
Not getting NPEs though. Is this fixed in the nuget package or still causing trouble?


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 09, 2021 3:00 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1007
Location: CCAA
Are you using "official" PDFsharp NuGet packages?

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group