After encountering a strange deployment issue today, eventually it was tracked down to an x86 assembly being deployed to a x64 process. There’s a tool included with Visual Studio called corflags that was helpful here. Open up a Visual Studio command prompt, type corflags.exe assemblyname.dll and you’ll see something like this:
Version : v4.0.20926 CLR Header: 2.5 PE : PE32 … Read more “Determining if an assembly is x64 or x86”