Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello,

I've developed C# application. when I installed on PC with 64 bit. It works fine ,butt on 32 bit. It gives me error message "It is not design for 32 bit".

However, I chose the target machine is 86.
Posted
Comments
Sergey Alexandrovich Kryukov 1-Jan-13 3:58am    
Not enough information, not clear.
—SA

AFAIK a 64bit program cannot run on a 32 bit machine.
 
Share this answer
 
Choose ANYCPU, or make two different builds. And be sure to have all referenced dlls matching the platform.
Some literature: http://thingsthatshouldbeeasy.blogspot.hu/2009/08/anycpu-x86-x64-whats-difference.html#.UOKjPuSzKSo[^]
 
Share this answer
 
v2
Comments
Member 8584763 1-Jan-13 4:40am    
I changed it ANYCPU ,but still I'm getting the same message "This product is designed for x64 platform".
Zoltán Zörgő 1-Jan-13 4:57am    
Are you sure you have rebuilt all, and all dependencies are for the proper platform?
Member 8584763 1-Jan-13 5:32am    
Yes
Zoltán Zörgő 1-Jan-13 5:53am    
Use Depends to check it.
Member 8584763 1-Jan-13 7:10am    
How to check it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900