generics - BadImageFormatException with .NET ILMerged DLL in Windows 7 64 -


I am developing in Windows 7 64-bit with Visual Studio 2008. I have a collection of classes libraries that I merge using a single DLL when using ILMerge when I try to use this merged DLL, I

[: file Or one of its dependencies can not be loaded by the assembly 'delusional del' or attempted to load the wrong format program.]

Looking at me and it looks like Sector to require to set build properties in each project target Maymeteddel the X-86, so I did it. I have also set up all non-MSTE projects in the web service, in which I am referring to Micromeddale to target x86. I'm still getting this error, though.

If this is to be believed, then I can get the result of doing this error:

  Public class specific class: base class: where T: class {} That is, a class obstacle on a general blog entry is from 2007, however, so I do not know that it still applies.  

If it does matter, then the MImated Dell has signed strong-name I should do some input from the stack overflow, as you think what the problem is before I get into my projects Track every common class to check the barriers. I am trying to use MyMergedDll in both a console application and a web service. I do not know whether things are probably complicated or not, IIS is updating every time I rebuild the web service or not. With the console application, I only seem to get the BadImageFormatException when I remain in release mode.

I have got to do this work and I think it was doing two things:

  1. Merrhhead DL was created using several other assemblies that I had control but those were not assemblies I targeted x86 to target those exchanges x86, mamgard dll The rebuilding assemblies were rebuilt, and a new form of those mergated DLLs They got back to Ilipi.
  2. The console application that uses the MyMettedDLL was set to target x86 in debug mode but is not a release mode, so why it will work in debug mode but in release mode < Code> BadImageFormatException .

The first thing may not necessarily be that I think the consumer of MIMZZLLL needs to target x86 only in release mode. I did not know which version of ILRJarje was using, so I re-installed it on the Microsoft site with the latest MSI. I / I>


Comments