Visual Studio C# 2008
Windows XP 32 bit
I have developed a windows project using VS C# 2008. My machine is 32 bit. So I have been compiling my applications under 32 bit.
However, one of our clients has confirmed he cannot install under visa on a 64 bit machine.
I am just wondering because I have compiled under a 32 bit machine. Will it still install on a 64 bit machine.
Just some extra questions. When I compile under 32 bit mode. It uses the windows 32 bit libraries. And those libraries cannot be found on a 64 bit machine?
To get this to work, will I have to compile 2 versions one for 32 bit and 64 bit?
Many thanks for any advice,
The 32-bit libraries will be on 64-bit versions of Windows. Generally, you should be targeting “Any CPU” with your C# projects to avoid platform specific issues. You should review your dependencies to see if any of those are 32-bit specific. You can use CorFlags to check each binary’s bitness.
Here’s a good starting point in the MSDN documentation regarding 64-bit application development: 64-bit Applications.