C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe C:\_PRODUKCIJA\D
ebug\DynamicHtmlTool.exe
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly 'file:///C:\_PRO
DUKCIJA\Debug\DynamicHtmlTool.exe' or one of its dependencies. An attempt was ma
de to load a program with an incorrect format..
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>
服务是x86编译的,即使两台计算机都是x64,它在我的计算机上工作。在这里的服务器win2008,我得到这个错误。
我尝试了谷歌的解决方案,但没有一个有效。
比如写在这里,我有x86项目 http://www.davesquared.net/2008/12/systembadimageformatexception-on-64-bit.html