EETypeLoadException

B

Bob

Does anyone know why I would get this error when running the below code? I
am using C# no c++ at all.

First-chance exception at 0x7c812a5b in myservice.exe: Microsoft C++
exception: EETypeLoadException at memory location 0x0012e1d0..

code...

AssemblyName Name = AssemblyName.GetAssemblyName("c:\myassembly.dll");

Assembly plug = Assembly.Load(Name);

Type[] types = plug.GetExportedTypes(); <-- Exception thrown at this line.


Bob
 
B

Bob

This had to do with one of the references in the assembly being a mismatched
build.

I don't know how Microsoft Claims to have solved "dll hell" I didn't know
the meaning of it until I started developing in .Net. 90% of the issues I
come across are related to versioning.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top