B
Bern McCarty
I am getting the following error when one of my mixed-mode assemblies trys
to call a method in another. Both are strongly named, neither are in the
GAC. Execution is in a non-default AppDomain in case that matters.
MyAssembly is actually an exe rather than a dll. It is really just a
library but I use it's main entry point as a test of the library itself. So
there is an object in elementtest.dll who's source contains a statement:
#using <MyAssembly.exe>. Is that what is causing the problem? Must I make
the assembly have a dll extension to avoid this error for some reason?
A first chance exception of type 'System.IO.FileLoadException' occurred
in elementtest.dll
Additional information: Unverifiable image 'MyAssembly' can not be run.
to call a method in another. Both are strongly named, neither are in the
GAC. Execution is in a non-default AppDomain in case that matters.
MyAssembly is actually an exe rather than a dll. It is really just a
library but I use it's main entry point as a test of the library itself. So
there is an object in elementtest.dll who's source contains a statement:
#using <MyAssembly.exe>. Is that what is causing the problem? Must I make
the assembly have a dll extension to avoid this error for some reason?
A first chance exception of type 'System.IO.FileLoadException' occurred
in elementtest.dll
Additional information: Unverifiable image 'MyAssembly' can not be run.