Free Support Forum - aspose.com

The type or namespace name 'Generator' does not exist in the namespace 'Aspose.Pdf'

Hi guys, I’m using the samples but I get an error:

<<The type or namespace name ‘Generator’ does not exist in the namespace ‘Aspose.Pdf’ >> …where is this to be found? I have already referenced:
1) Aspose.Demos.Common
2) AsposePdfKitDemo
3) DemoBackend

…Many thanks for a quick response, Chris

Hi Chris,


Thanks for your interest in our products.

Aspose.Pdf.Generator namespace is present in Aspose.Pdf.dll. First you need to add Aspose.Pdf.dll reference in your project, then use import Aspose.Pdf.Generator.*; to reference this namespace in your application. You may consider visiting the following link for further information on

In the event of any further query, please feel free to contact. We are sorry for your inconvenience.