Hi folks,
I did not find an specific forum for PDF. So I writte in general.
I need to write a netstandard 1.6 lib for using it in WPF and Xamarin. This lib extract cells from xls. This code seems is very straigthforward:
(source: https://www.syncfusion.com/products/file-formats/xlsio)
using (ExcelEngine excelEngine = new ExcelEngine())
{
//Open an existing workbook.
IWorkbook workbook = excelEngine.Excel.Workbooks.Open(@"Sample.xlsx");
//Access the first worksheet from the workbook instance.
IWorksheet worksheet = workbook.Worksheets[0];
//Read/access the value of the cell (B3)
textBox1.Text = worksheet["B3"].Text;
}
I added
Syncfusion.XlsIO.Portable and Syncfusion.Compression.Portable to my netstandar 1.6 lib but I get this Severity Code Description Project File Line Suppression State
Error CS0012 The type 'Object' is defined in an assembly that is not referenced.
You must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes'.
Which assembly is? I use portable assemblies according https://help.syncfusion.com/file-formats/xlsio/assemblies-required
Cheers