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

Free Support Forum - aspose.com

Simple Aspose.Pdf scope question

I’m trying to make this call in a C# file:

Aspose.Pdf.Generator.Pdf pdf;

I get this error:

"The type or namespace ‘Aspose’ could not be found (are you missing a using directive or an assembly reference?)"

I have a reference named “Aspose.Pdf”, but I haven’t been able to find any using directives related to this assembly.

Any suggestions?


I am also unable to see the class “Document” as provided by Aspose.

Hi Micah,

Thanks for using our products. Please ensure that you have properly added Aspose.Pdf for .NET reference in your project. Also please make sure you have added the product binaries from appropriate folder i.e. if your applications target platform is .NET Framework 2.0, please make sure you are using the product binaries from net2.0 folder from Aspose.Pdf for .NET installation folder.

The Document class is provided in Aspose.Pdf for .NET versions starting from 6.0.0. Please visit the following links for instructions on

Thanks for the link.

This product works better than competing tools.

A little more expensive, though.