The application hasone EXE and uses 2 different dlls, based on options selected by the user.
One of the dll works fine with the same EXE but other does not. Although both have the same settings ie "Any CPU".
Except the dll in question uses Microsoft Dynamics AX Business COM Connector.
I get an error "Vendor Assembly could not be loaded : Path specified was : C:\Program Files (x86)\...\ abc.dll"
But the dll exists in the specified location.