Search code examples
.netplatformrecompileanycpu

Changing Platform of Existing DLL


I have a 3rd DLL that is built for "Any CPU". It needs (for a specific reason) to be rebuilt for x86. I have no access to the existing source code, but could via Reflector, decompile and recompile it myself.

Is there another way to do this without taking the Reflector path


Solution

  • You can use corflags for this. Specifically the /32BIT+ option. Note the caveats regarding strong named assemblies if applicable.