We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Issues Aspose.PDF and regasm for COM Interop

I get tons of errors for regasm of Aspose.PDF.

Each line starts with Type library exported warning, processing … [ [[blah, blah ]] … generic code may not be exported to COM

Here is what I used to register the library

c:\windows\Microsoft.NET\Framework\v2.0.50727\regasm Aspose.PDF.dll /codebase
c:\windows\Microsoft.NET\Framework\v2.0.50727\regasm Aspose.PDF.dll /tlb:Aspose.PDF.tlb

How can I fix this and continue. I have read most of the documentation, but not helpful. I think you need to have TUTORIALS.


Thanks for contacting support.

You can please run Visual Studio Command Prompt with Administrative Privileges and type following command in it:

regasm "C:\Program Files (x86)\Aspose\Aspose.PDF for .NET\bin\net2.0\Aspose.PDF.dll" /codebase

This is will register the types as shown in the attached screenshot.

regasm.png (10.7 KB)