質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top