|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
EETypeLoadExceptionDoes 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 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. Show quote "Bob" <msg***@hotmail.com> wrote in message news:%23RH7gWHfHHA.4916@TK2MSFTNGP06.phx.gbl... > 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 > |
|||||||||||||||||||||||