PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Error when opening PDF
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4528
Page 1 of 1

Author:  nathpw [ Thu Dec 28, 2023 10:55 am ]
Post subject:  Error when opening PDF

Hi guys

I've attempting to open an existing PDF file, then add an image to it, then save the result to a new file.

I'm running into a problem every time I try and open the existing PDF though

Image



I've tried the following
- Different PDF's and different locations
- Using different versions of the nuget package (currently 6.0)
- Different modes (import/modify)
- Read through the blogs and samples but nothing seems to work

What am I doing wrong?

Author:  nathpw [ Fri Dec 29, 2023 9:38 am ]
Post subject:  Re: Error when opening PDF

Update...

So I've downgraded to Nuget package 1.50.5147 and it works! I have also started a new .net core project and that works too.

It seems to be an issue with the latest nuget and my .net framework 4.8 project.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/