Aspose.Cells as embedded resource giving error

Hi,

I am trying to add the latest version aspose.cells as an embedded resource and getting the following error:

Could not load file or assembly ‘zx_7cb90f69ac594c85b2ab8d9a376c3097, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))

In the same project I have embedded aspose.words and it is working as I would expect.

I have attached a test app that replicates this issue.

Regards,

Richard.

Hi,


Thanks for the sample project.

Please download and try our latest version/fix: Aspose.Cells for .NET v8.0.2.3

I have opened your project into VS.NET 2010 and then re-added reference to v8.0.2.3 and then recompiled the project, it works fine and generated the correct “OutputExcel.xlsx” file. Also, I have to update the code segment a bit accordingly:
e.g
Sample code:

Aspose.Cells.Workbook workbook = new Workbook(“BlankExcel.xlsx”);
workbook.Worksheets[“Sheet1”].Cells[1, 1].Value = “Test xls can be updated”;
workbook.Save(“OutputExcel.xlsx”,Aspose.Cells.SaveFormat.Xlsx);


Thank you.

Hi Amjad,

Thanks very much for that - worked perfectly.

Regards,

Richard.

Hi,


Good to know that it figures out your issue now. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Thank you.