Getting the following error when I attempt to use the latest Aspose.Cells Nuget package in a published Blazor WASM App. Please see the attached Solution for a reproducible case.
NOTE: You will need to emulate an Azure Static Web App using the following instructions to see the issue.
The error is visible with a simple folder publish and using the SWA Docker container to test it.
Also visible when publishing to an Azure static web site
AsposeWasmIssue.zip (236.7 KB)
System.TypeInitializationException: TypeInitialization_Type,
—> System.TypeLoadException: Cannot load type ‘System.Void, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’.
at d.(Object )
at d.(Object )
at d.()
at d.(Object , UInt32 )
at d.(Boolean )
at d.()
at d.(Object[] , Type[] , Type[] , Object[] )
at d.(Stream , String , Object[] , Type[] , Type[] , Object[] )
at d.(Stream , String , Object[] )
at d.(Stream , String , Object[] )
at …cctor()
Exception_EndOfInnerExceptionStack
at .(Int64 , Boolean )
at .(Int64 )
at e.(Int64 )
at .()
at .(String , Stream , LoadOptions )
at Aspose.Cells.Workbook.(Stream , LoadOptions , Boolean )
at Aspose.Cells.Workbook…ctor(Stream stream)
at AsposeWasmIssue.Pages.Home.LoadExcelFiles()
@jfield.quebit
Thanks for your sample project. We will evaluate your issue and get back to you soon.
@jfield.quebit
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSNET-55926
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
HI @John.He ,
Thanks for the update. I work on the same team as jfield. We’re hoping to release a product at the end of the month using Aspose in a Blazor WASM app. This is currently a major blocker. Any help in prioritizing this would be great.
@mhopkins
Typically, we prioritize issues based on the order of occurrence and the complexity of the fix. However, we also offer priority support for a fee. Please refer to the following information. Thank you!
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@xinya.zhu,
We have a paid support plan, but often prefer to log cases in the forums for the benefit of other customers. I will look into out support portal and formally request priority support for this issue, if its possible. We reserve that request for when we need it, and this is one of those situations.
We appreciate your quick responses.
Thank You,
-Andy
@weissa,
Thanks for sharing your further thoughts.
Please note that your issue/ticket is logged under the normal (free) support model, where issues are evaluated and resolved on a first-come, first-served basis. The evaluation and resolution time of the issue depend upon the number of issues or other (important) tasks logged prior to it.
Anyways, hopefully, we will schedule the ticket in the next few days. We will update you once any new information becomes available.