I am using spire.pdf to generate a pdf document that currently uses system.drawing
However, the azure server supports .NET 5, so I did not pass the pipeline
System.TypeInitializationException : The type initializer for 'Application.Extensions.GeneratorPDF' threw an exception.
---- System.TypeInitializationException : The type initializer for 'Gdip' threw an exception.
-------- System.PlatformNotSupportedException : System.Drawing.Common is not supported on non-Windows platforms. See (microsoft webiste) for more information.
I have been looking for a solution but so far have not been able to find one. Is there any way out of this?
Thanks.