Using Aspose.PDF in a Existing API - Temporary License

Hi,

I have been working in an existing API responsible for signing and merging PDF documents using a DLL from another provider.

My company desire to change this service provider to Aspose because of the many functionalities available.

I requested a Temporary License and have already received it (Aspose.PDF.NET.lic). I download via Nuget the following Package: in the existing API:

  1. Aspose.PDF

I tried to follow the instructions provided on Aspose PDF License|Aspose.PDF for .NET.

But It didn’t work in my application. Moreover, I tried to add the Aspose.PDF.dll to the project and got the same error.

I’ve attached to this forum a print screen of the project.
Aspose API - Error.png (234.3 KB)

@douglasvf

It looks like the error is being caused by ambiguous Class Name. You are trying to use Aspose.Pdf.License Class in your custom License.cs Class. Either try to change your class name or try to access the License object with full name space like Aspose.Pdf.License. In case you still face any issues, please let us know.