Problem
Assembly is loaded just fine in development, fail to be loaded on production.
Details
The assemblies quickfix_net.dll
and quickfix_net_messages.dll
(Quickfix.NET API) are failing to load on production systems throwing the following exception:
System.Windows.Threading.Dispatcher: System.IO.FileNotFoundException: Could not load file or assembly 'quickfix_net.dll' or one of its dependencies. The specified module could not be found. File name: 'quickfix_net.dll'
My fix attempts
Corflags.exe
Question
What are the main differences between development and production systems that may cause such problem of assembly perfectly loaded on the first but fail to be loaded on the later?
After signing the assemblies as 32BIT using the corflags.exe
, I checked for dependencies again, and found 2 system assemblies missing :