Syncfusion.Licensing error when using File Format library in .NET Standard
Syncfusion Licensing error may occur under the below scenario for the File Format assemblies in .NET Standard..
- New Project -> ASP.NET Core Web Application
- Select .NET Framework
- Add Syncfusion.DocIO.Net.Core (or other File Format NuGet) from nuget.org
- Use the below code snippet, the below exception occurs
If this is the scenario you are using, we suggest you to use ”Syncfusion.DocIO. WinForms” NuGet which is available in the below NuGet feed to overcome this issue.
https://www.nuget.org/packages/Syncfusion.DocIO.WinForms/
Also, we recommend using the following NuGet packages in your ASP.NET Core application based on your targeting framework.
Target framework | Package Name | NuGet feed source |
.NET Framework | Syncfusion.DocIO. WinForms Syncfusion.Pdf. WinForms Syncfusion.Presentation. WinForms Syncfusion.XlsIO. WinForms | https://www.nuget.org/packages/Syncfusion.DocIO.WinForms/ https://www.nuget.org/packages/Syncfusion.Pdf.WinForms/ https://www.nuget.org/packages/Syncfusion.Presentation.WinForms/ https://www.nuget.org/packages/Syncfusion.XlsIO.WinForms/
|
.Net Core | Syncfusion.DocIO.Net.Core Syncfusion.Pdf. Net.Core Syncfusion.Presentation. Net.Core Syncfusion.XlsIO. Net.Core | https://www.nuget.org/packages/Syncfusion.DocIO.Net.Core https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core https://www.nuget.org/packages/Syncfusion.Presentation.Net.Core https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core
|
The below link describes how to refer the packages from the NuGet link.
https://help.syncfusion.com/file-formats/nuget-packages