The reverse of this question.
My .NET C# program sets the Platform Target as ‘Any CPU’, which on my 64 bit Win7 OS, means it will run as 64 bit. Even when the program is stored under Program Files (x86), it will still run as 64 bit interestingly (I checked with
IntPtr.Size == 8).
So should I expect anything bad to happen? The program references a DLL which is also ‘Any CPU’, but that’s all. I would rather install it to the “Program Files (x86)” folder or maintenance reasons if nothing else.
And would anything bad happen if this wasn’t .NET, and just a standard C/C++ executable?