Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wrote a C# application and am trying to launch it on an XP box.
I complied with x86 option and changed the exe properties to run on XP SP3
but I keep getting the error:

"<pgm>.exe is not a valid win 32 application"

The app was written in Visual Studio 2012

Any idea on how to make it run?
Posted
Updated 29-Sep-19 21:52pm

Hi,

Have a look here:
http://stackoverflow.com/a/16460035[^]
 
Share this answer
 
In your C# project, under Properties / Application, set the Target framework to something other than .NET Framework 4.5.
 
Share this answer
 
Comments
Mohan BM 17-Mar-15 5:48am    
This solution helped me.. Thanks..
Member 12792319 9-Apr-18 14:43pm    
This did it for me thank you

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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