Issue with Nuget Package and .Net8

Hi

I'm trying to upgrade a project from Framework 4.8 to Net 8. As described here I added the Nuget Package 

"Syncfusion.Pdf.WinForms"

Image_9846_1721638416455

I can't because I'm running in an error:

Image_9438_1721638524869

"Der Typ "PdfLoadedDocument" ist in "Syncfusion.Pdf.Base, Version=26.1.42.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" und "Syncfusion.Pdf.Portable, Version=26.1.42.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" vorhanden"

Translated analogously: The type  "PdfLoadedDocument" is located in "Syncfusion.Pdf.Base..." and  "Syncfusion.Pdf.Portable,..."

How can I solve it?

Thanks

Christoph




4 Replies 1 reply marked as answer

SG Sivaram Gunabalan Syncfusion Team July 23, 2024 03:43 PM UTC

We suspect the reported conflict issue may be due to having both .NET Core and .NET Framework packages installed in your project. We recommend installing only our .NET Core packages for .NET 8.0 projects. Please refer to the following NuGet package link for .NET Core projects.

 

https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core 

 

You can refer to the following UG page for further details: 

https://help.syncfusion.com/document-processing/pdf/pdf-library/net/nuget-packages-required 



Marked as answer

ER ERTEM July 24, 2024 11:26 AM UTC

I had a issue with  "Syncfusion.Pdf.Net.Core" packages on winform application on Net8. End up using 

Syncfusion WinForms PDF 



CH Christoph July 24, 2024 11:29 AM UTC

I uninstalled Syncfusion WinForms PDF, installed Syncfusion.Pdf.Net.Core and the errors disappeared.



JT Jeyalakshmi Thangamarippandian Syncfusion Team July 25, 2024 12:08 PM UTC

Thanks for the update, please let us know if you need any further assistance.


Loader.
Up arrow icon