Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Compilation Error when I include both Aspose.Words and Aspose.PDF

$
0
0
I am using VS2013

I am getting the following compilation error when after I added "using Aspose.PDF to my C# namespace

:error CS0104: 'Document' is an ambiguous reference between 'Aspose.Words.Document' and 'Aspose.Pdf.Document'
error CS0104: 'Document' is an ambiguous reference between 'Aspose.Words.Document' and 'Aspose.Pdf.Document'
error CS0104: 'SaveFormat' is an ambiguous reference between 'Aspose.Words.SaveFormat' and 'Aspose.Pdf.SaveFormat'
error CS0104: 'Image' is an ambiguous reference between 'System.Drawing.Image' and 'Aspose.Pdf.Image'
error CS0104: 'Image' is an ambiguous reference between 'System.Drawing.Image' and 'Aspose.Pdf.Image'
error CS0104: 'Image' is an ambiguous reference between 'System.Drawing.Image' and 'Aspose.Pdf.Image'

Code Sample:
using Aspose.Words;
using Aspose.Words.Saving;
using Aspose.Pdf;

Can I use both in the same namespace?

Viewing all articles
Browse latest Browse all 3131

Trending Articles