Some test text!

menu
ASP.NET precompile error during publishingkeyboard_arrow_down

ASP.NET precompile error during publishing

64 bit PDFNet.dll works fine from a Website ASP.NET project but when attempting to use the publish feature with the pre-compilation option you may get the following error:

Could not load file or assembly 'PDFNet' or one of its dependencies. An attempt was made to load a program with an incorrect format. WebSite ASPNETCOMPILER 0"

Getting the 64 bit PDFNet.dll to successfully publish with “Precompile during publishing” option enabled requires adding the following to publish profile in the App_Data folder:

<AspnetCompilerPath>C:\Windows\Microsoft.NET\Framework64\v4.0.30319</AspnetCompilerPath>

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more
close