Possible Duplicate:
How do I target .NET 4.0.3 on XP using Visual Studio 2012? Application fails to run with “not a valid Win32 application”
I use Visual Studio 2012 to develop my windows forms projects. I am able to produce ClickOnce setup files to install on Win 7/8 OS but I am not able to install it on Win XP.
Error message is setup.exe is not a valid win32 application.
I know this OS is (officially) no more supported with VS2012. I know the will be a fix latier in 2012 to correct it. But maybe there is a solution to allow me to install my Windows Forms project on Win XP?
Thanks.
PS: I read this VS2012 ClickOnce Applications not working on Windows XP but not solution has been suggested (except working with VS2010).
I also read this http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/dd3eec8c-93b0-4243-9419-233f20b257d4 but I am not able to change the Platform Toolset as suggested (where to do that?).
We had the same issue, but found a simple fix:
Instead of running the setup.exe run the “xxxxxx.application” file in the same location.
This will execute and install in exactly the same manner and does not complain about not being a 32bit app.