Reputation: 471
I have winforms applicaton. I created a setup using click once. My applicaton is build in .NET 4.0 and x86 as platform target. It works on my .NET 4.5 Win 7 64 bit machine but on a .NET 4.0 64 bit Win Server 2003 machine it gives the exception setup.exe is not a valid win32 application
. I can only run the application via copying all the related files.
What may be the problem?
Upvotes: 0
Views: 4789
Reputation: 471
I removed the tick under "properties->publish->Prerequisities->Create setup program to install prerequisite components" and now it's working.
Upvotes: 1