Error - could not load file or assembly AlphaVSS.60.x64.DLL

Sep 9, 2013 at 6:59 AM
Edited Sep 9, 2013 at 7:56 AM
I've just migrated to the .NET4 version (as I want to use parallel processing) and at runtime I get the following error

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'AlphaVSS.60.x64.dll' or one of its dependencies. The specified module could not be found.

I've not changed anything other than replacing the DLLs with the .NET4 versions and replacing the reference to the COMMON DLL in my project.

All the DLLs are in the same folder as the executable

I am using the release versions of the DLLs and building my application as a release version

It's running on a Windows 2008 R2 machine and VCRedist is installed.

What's REALLY weird is that I've created a test application that just loads the AlphaVSS libraries and that works!

EDIT: Acch...stupid stupid stupid. ONly the x86 version of the VCREDIST was installed. My application was compiled as AnyCPU whereas the test application was compiled for x86.

d'oh!