Pregunta

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?

¿Fue útil?

Solución

I removed the tick under "properties->publish->Prerequisities->Create setup program to install prerequisite components" and now it's working.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top