"Could not load file or assembly" exception

"Could not load file or assembly" exception

am 02.11.2007 15:49:02 von KevinMurphyRJLG

I'm trying to migrate a large solution (20 or so projects) from .NET 1.1 to
..NET 2.0. I've taken care of all the compile errors, but now I'm getting an
exception shortly after I start up the app.

Exception:
System.TypeInitializationException "The type initializer for 'MyClass' threw
an exception."

InnerException:
System.IO.FileLoadException "Could not load file or assembly 'MyLib, Version
1.0.2862.16401, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. Exception from HRESULT: 0xE0434F4D"

The exe is built from VB code. 'MyClass' is in a managed C++ dll, and
'MyLib' is a different managed C++ dll. I've been stuck on this problem for
days. Any help would be greatly appreciated. Thanks.