Home » Questions » Computers [ Ask a new question ]

Is it possible to force a C# application compiled with the "Any" architecture tag to run as a 32 bit application on 64 bit windows?

Is it possible to force a C# application compiled with the "Any" architecture tag to run as a 32 bit application on 64 bit windows?

I have a .Net application, written in C#. The application has been compiled with the "any" flag, allowing it to run as both 64 and 32 bits, depending on the OS that it's deployed on.

Asked by: Guest | Views: 296
Total answers/comments: 1
Guest [Entry]

"Yup, use CorFlags to set the 32BIT flag on the executable. E.g:

corflags.exe myapp.exe /32BIT+

This will modify your exe, so you might wanna keep a backup just in case. You can also revert the flag using /32BIT- instead of /32BIT+"