The type initializer for 'Aspose.Tasks.Visualization.TextStyle' threw an exception in Aspose.Tasks mpp

Iam trying to do import and export with blazor to create mpp files.
I have tried below code
Project project = new Project();

// !The project will be saved into MPP by using internal MPP template.
project.Save(“New Project.mpp”, SaveFileFormat.MPP);

and getting below error : ‘The type initializer for ‘Aspose.Tasks.Visualization.TextStyle’ threw an exception.’ innerException: ‘Cannot find any fonts installed on the system.’

@SrinivasD
We have opened the following new ticket(s) in our internal issue tracking system to investigate the issue and will deliver the fix according to the terms mentioned in Free Support Policies.

Issue ID(s): TASKSNET-10888

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.

The issues you have found earlier (filed as TASKSNET-10888) have been fixed in this update.

@SrinivasD,
we fixed only the scenario you’ve specified (save project to MPP format).

But saving to graphical formats like Image, PDF, HTML, etc wil not working in Blazor (if application hasn’t a permission to read system font folders, to be more previse).

I’ve created a separate improvement in our bug tracking system to further extend our API to provide a way to specify user’s font folder in order to fix saving to graphical formats.