Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0
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 31-Dec-12 22:48pm
Sergey Alexandrovich Kryukov at 1-Jan-13 3:58am
Not enough information, not clear.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Choose ANYCPU, or make two different builds. And be sure to have all referenced dlls matching the platform.
Some literature:[^]
Member 8584763 at 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ő at 1-Jan-13 4:57am
Are you sure you have rebuilt all, and all dependencies are for the proper platform?
Member 8584763 at 1-Jan-13 5:32am
Zoltán Zörgő at 1-Jan-13 5:53am
Use Depends to check it.
Member 8584763 at 1-Jan-13 7:10am
How to check it?
Zoltán Zörgő at 1-Jan-13 12:27pm
Again: download depends from the link above, open the executable ot the target machine (where you have the problem). You will see notifications if any assambly was built wrong platform.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

AFAIK a 64bit program cannot run on a 32 bit machine.

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

  Print Answers RSS
0 Zoltán Zörgő 260
1 /\jmot 205
2 CHill60 145
3 Peter Leow 145
4 CPallini 135
0 Sergey Alexandrovich Kryukov 9,363
1 OriginalGriff 6,881
2 Peter Leow 4,577
3 Zoltán Zörgő 4,184
4 CHill60 2,892

Advertise | Privacy | Mobile
Web03 | 2.8.150129.1 | Last Updated 1 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100