开发者

C# FrameWork 4 64 Bit Service InstalUtil Problem

开发者 https://www.devze.com 2023-01-05 16:47 出处:网络
Platform WinServer 2008 R2 32 Bit Version of Service. 32 bit Instalutilworks OK Took service and components upto Framework 4 and 64 bit.

Platform WinServer 2008 R2

32 Bit Version of Service. 32 bit Instalutil works OK

Took service and components upto Framework 4 and 64 bit.

64 bit InstalU开发者_如何学运维til complains Could not load file 'Path' An attempt was made to load a program with an incorrect format ..

Any thoughts?


It looks like you've compiled your application as "x86" instead of "x64" (or "Any CPU"). On the project properties, under the "Build" tab, check that "Platform target" is set to "Any CPU" or "x64".

Visual Studio 2010, by default, sets the target to x86.

0

精彩评论

暂无评论...
验证码 换一张
取 消