Thank you for contacting support. Aspose.Pdf for .NET API is an independent class library project compiled under the .NET framework. You can import an Aspose.Pdf DLL which targets to the appropriate .NET framework (it may 2.0, 3.5, 4.0 or Compact framework etc.). However, Aspose.Pdf assembly compiled with .NET Framework 2.0 version works fine on the .NET Framework versions greater than or equal to 2.0.
PS: You are using quite an old version 11.3.0.0. We always recommend our clients use the latest version of Aspose.PDF API, because it includes all the latest features, fixes and enhancements.
You write that " Aspose.Pdf for .NET API is an independent class library project", but when I try printing to printer or converting PDFs to TIFF with Aspose.PDF.DLL any version after 12.0 I receive an error that it cannot load Aspose.Fonts.DLL.
I also not that the size of the Apose.Pdf.DLL assembly shrank from 40MB to 30 MB after version 12.0. Are you sure that Aspose.PDF.DLL is still an independent class library, or was something extracted After version 12???
Aspose.Pdf for .NET is an independent library and Aspose.Font.dll is an internal component of it. It would be greatly appreciated if you please share more information about your environment i.e OS version, API version, Application Type and Target Framework along with your sample document, so that we can try to replicate the issue in our environment and address it accordingly.
After creating the DLL, i have ti import the DLL into 3rd party system. i am getting above error when i try to import the DLL.
But, i was able to import the Aspose.Pdf : 10.3.0.0 into 3rd party system successfully.
Hi,
Thanks for contacting support.
From your above query, it appears that you are facing issue while using Aspose.Pdf for .NET 11.3.0 but in subsequent line, you have mentioned that its working fine when using VS2017. Can you please share some further details regarding this problem.
Furthermore, recently we have noticed that there are some issues related to internal libraries referencing and this problem is already logged as PDFNET-42378 in our issue tracking system. However currently there are two workarounds for this problem.
1.Do not use assembly.GetTypes(), use assembly.GetExportedTypes() instead.
var types = assembly.GetTypes(); // <-- it works fine now.
The product team is working on fixing this problem and we hope to get it resolved in next release versions of Aspose.Pdf for .NET. Please be patient and spare us little time. We are sorry for this inconvenience.
We are pleased to share that the issue reported earlier as PDFNET-42378 is resolved in latest release of Aspose.Pdf for .NET 17.6. Please try using the latest release and in the event of any further query, please feel free to contact.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.