Reputation: 47
I have create a Small WPF C# Program with VS2012. it is run successful in Win 7 and Win 8 , 32Bit and 64bit but it have trouble with windows XP and after runnig exe file This message is displayed: program is not valid win32 What is the solution?
Upvotes: 2
Views: 2809
Reputation: 1864
Additional to this, just make sure the platform target of the program is not x64 if you are running it in a 32 bit machine. .Net framework 4 should work in windows XP machine.
Upvotes: 0
Reputation: 3751
Try the workaround mentioned in the following link.
But still you need to open up to us to give accurate solution.
Upvotes: 0
Reputation: 2999
you should reduce the target framework of your Project. VS2012 runs with .NET 4.5 as default, Windows XP does not support anything higher than .NET 4.0.
You can go to your Project Properties and select at the tab Application
the Target framework.
Upvotes: 7
Reputation: 1775
Make sure you have installed .Net framework in target machine. Windows XP does not support .NET 4.0 and higher
Upvotes: 0