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

Solution 2

AFAIK a 64bit program cannot run on a 32 bit machine.
  Permalink  
Rate this: bad
good
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: http://thingsthatshouldbeeasy.blogspot.hu/2009/08/anycpu-x86-x64-whats-difference.html#.UOKjPuSzKSo[^]
  Permalink  
v2
Comments
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
   
Yes
Zoltán Zörgő at 1-Jan-13 5:53am
   
Use <a href="http://www.dependencywalker.com/">Depends</a> 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.

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 686
1 OriginalGriff 498
2 Tadit Dash 420
3 sanket saxena 337
4 Zoltán Zörgő 230
0 Sergey Alexandrovich Kryukov 11,800
1 OriginalGriff 7,225
2 Peter Leow 5,009
3 Abhinav S 3,893
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web01 | 2.8.140421.2 | Last Updated 1 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid