I'm trying to target min/max 16299 (Fall Creators Update) for UWP but I'm running into this error. How can I resolve this?
Severity Code Description Project File Line Suppression State Error CS0433 The type 'PointF' exists in both 'Syncfusion.Pdf.UWP, Version=15.3460.0.33, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' and 'System.Drawing.Primitives, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' IPAPP8 C:\____\Views\ItemDetailPage.xaml.cs 367 Active
SKSasi Kumar Sekar Syncfusion Team May 28, 2018 04:25 AM
@Thomas – Thank you for your update.
@Dhruval – We have updated the response in the incident created by you, please follow up the incident for further updates.
Sasi Kumar S.
ASAlexander Schröders May 3, 2019 01:56 PM
I used this fix to get the PDF functionality working correctly in my app. I recently added the PDF Viewer control to my application and I again get errors when building my project for release. When I remove this fix and the parts that used PointF I have no problem compiling for release. With this fix I get the errors that the namespaces Parsing and PdfDocumentBase could not be found in "Syncfusion.Pdf".
My guess is that I have to somehow add the other nuget packages that are needed for the PDF Viewer to this alias but I have no idea how to do that.
SSSathish Sivakumar Syncfusion Team May 6, 2019 04:43 AM
Thank you for your patience.
On analyzing this issue, we found that we are getting compilation errors in the sample while using PointF and RectangleF classes in our sample application due namespace conflicts between System.Drawing and Syncfusion.PDF.UWP once upgrade the SDK to v6.0.1 and targeting the application to 16299. We can resolve these compilation errors by adding aliases and extern changes in the application project file and .cs file. Please find the changes from below,
Project file changes:
Please add below aliases changes in the project file.