Console application for ASPOSE.PDF for .NET Core 7 throws.
TypeLoadException: Could not load type ‘System.Web.HttpContext’ from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Console application for ASPOSE.PDF for .NET Core 7 throws.
TypeLoadException: Could not load type ‘System.Web.HttpContext’ from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Can you please try installing Aspose.Pdf.Drawing instead of Aspose.PDF from NuGet and see if error still occurs? If it does, please share the sample console application with us so that we can test the scenario in our environment and address it accordingly.
@asad.ali I found this issue. Unfortunately, I had to download the dll for the pdf from the site to get through enterprise restriction and those dlls were for .NET 4. The dll for .NET 7 installed directly through nuget does not have this issue. Thanks for the quick reply
It is nice to know that your issue has been resolved. Please keep using our API and feel free to create a new topic in case you face any issues.