Please help.
We are trying to use Spire in a .NET-Core 5.0 application.
We got it to load, and use Word-to-HTML fine.
But in trying to do Word-to-PDF, we are encountering an error:
Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
The error occurs when we try to save to stream as such:
Spire.Doc.Document doc;
doc.SaveToStream(~~stream~~, global::Spire.Doc.FileFormat.PDF); <== Error occurs here.
Can anyone help us solve this issue?