November 9th, 2010, 05:06 AM
Windows 7 64-bit C# Build: 'Any CPU' or 'x86' ?
Development PC: Windows 7 32-bit, Visual Studio 2008
C# app: .Net Framework 2.0
My latest version doesn't work under Windows 7 64-bit (it can't find a registry path with some keys). That happens only on PCs with this OS.
I maintain my c# application since 2005 and I always had 'Any CPU' as Platform target option under Build page in project's properties.
The solution for my problem was changing that property to 'x86'.
This is very strange, because my previous version was built with 'Any CPU' and worked on Windows 7 64-bit as well.
I don't find any difference in the project properties between the two versions.
I really can't explain it. Could you?
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!