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

PDFSharp 1.50.5147 with Xamarin.Forms
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4149
Page 1 of 1

Author:  KrassiNB [ Thu Jun 25, 2020 11:40 pm ]
Post subject:  PDFSharp 1.50.5147 with Xamarin.Forms

Hi,

Can I use PDFSharp core in Xamarin.Forms project and how?

I've added the latest official release of PDFSharp NuGet package (1.50.5147) to Xamarin.Forms core project. But there is a Deployment Error:
Error Can not resolve reference: `System.Drawing`, referenced by `XXXApp` > `PdfSharp`. Please add a NuGet package or assembly reference for `System.Drawing`, or remove the reference

I also have a Package Warning:
warning NU1701: Package 'PDFsharp 1.50.5147' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

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