Compatibility with Blazor (Web Assembly)


Hi there,

Blazor is looking like a promising and powerful technology that could drive a lot of .NET development. I was playing around with integrating Aspose.Cells and was disappointing to learn that the library can’t run in Blazor because it contains native code (See this for a similar error to what I get). Are there any plans to change this? It would be a very powerful feature if it were included.

Steps to reproduce:

Make sure you have preview 9 of dotnet

λ dotnet --version

Download the templates so you can create the project

λ dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview9.19424.4
λ dotnet new blazorwasm -o AsposeOnBlazor

λ cd AsposeOnBlazor
λ dotnet add package Aspose.Cells

Add this to ./_Imports.razor:

@using Aspose.Cells

Now build the project
λ dotnet build

You should see error MSB3073.


We have understood the requirement and we need to look into it more. We have logged the issue in our database for investigation and for a fix (if possible). Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46895 – Compatibility with Blazor (Web Assembly)