Is there a version of Aspose.Pdf API for .NET without references to System.Windows.Forms
System.Web - these heavyweight assemblies are not fully supported by SQLCLR…
Also, when registering Aspose.Pdf for use with SQLCLR, it complains about static fields not being set as readonly - a problem in a multithreaded environment.
Msg 6211, Level 16, State 1, Line 2
CREATE ASSEMBLY failed because type ‘.’ in external_access assembly ‘Aspose.Pdf’ has a static field ‘’. Attributes of static fields in external_access assemblies must be marked readonly in Visual C#, ReadOnly in Visual Basic, or initonly in Visual C++ and intermediate language.