Dependencies

I am developing in asp.netcore , Initialy i have been using the
Syncfusion.XlsIO.NETStandard but now it is not available in the nuget store. Then i have shifted to 

Syncfusion.XlsIO.Net.Core      and then i used  Syncfusion.Xamarin.XlsIO but in all cases i get the error below

System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.'

when this line gets executed
  using (ExcelEngine excelEngine = new ExcelEngine())
{

}

1 Reply

PK Prakash Kumar D Syncfusion Team September 28, 2018 09:36 AM UTC

Hi Ayubu, 
 
Thank you for contacting Syncfusion support. 
 
Query 1: I am developing in asp.netcore , Initialy i have been using the 
Syncfusion.XlsIO.NETStandard but now it is not available in the nuget store 
 
Syncfusion has changed some of the NuGet package naming to make the users to search and find the required Syncfusion NuGet packages in nuget.org. To know more about this, kindly refer the following link 
 
  
Query 2: Syncfusion.XlsIO.Net.Core      and then i used  Syncfusion.Xamarin.XlsIO but in all cases i get the error below 
 
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.' 
 
 
We suspect that the issue might be occurred due to reference of improper NuGet package in your .Net core Application. To resolve this issue, we suggest you to uninstall the existing XlsIO NuGet package and install the corresponding Syncfusion.XlsIO.Net.Core package to your .Net Core application . 
 
Please find the following link to know about the NuGet package that need to be referenced in your application based on the platform  
 
Regards, 
Prakash Kumar 


Loader.
Up arrow icon