I came across a situation in which I would like to set the Prefer 32-bit to true. But in Visual Studio 2012, it is showing as disabled. And no matter what I do
Assuming you've got an executable project, then if you change your target platform to .NET 4.5, it should become enabled.
It's a .NET 4.5-only thing, and it's only enabled for executables.