Some test text!

menu
"FileLoadException" or "FileNotFoundException" on .NET/WPFkeyboard_arrow_down

"FileLoadException" or "FileNotFoundException" on .NET/WPF

linkResolving FileLoadException due to missing VC redistributable

With newer versions of Visual Studio, Microsoft no longer allows statically linking to the CRT for .NET components. To get everything working, installing the VC++ runtime is not necessary, instead required DLLs (e.g. MSVCP100.DLL & MSVCR100.DLL) can simply be copied into the same folder where PDFNet.DLL is located. There is no dll registration needed. A utility called Dependency Walker can help you to identify which two DLLs are required.

link"Could not load file or assembly 'PDFNet.dll'" when using PDFNet for .NET 4.x

The PDFNet x64 library is for targeting frameworks 2.0 - 3.5. Since your building .NET Framework 4 or 4.5, you should use PDFNet for .NET 4. If there is some reason to use the .NET 2 assembly, the following article might help. http://stackoverflow.com/questions/3179028/mixed-mode-assembly-in-net-4

linkResolving 'FileNotFoundException: Could not load file or assembly 'PDFNet.dll' or one of its dependencies' [64-bit and .NET 4 specific]

If you are using a direct reference to PDFNet.dll, please ensure that your reference is pointing to the correct version 32-bit vs 64-bit of the PDFNet dll. Also check and ensure that copylocal is set to true for the assembly reference in the project.

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