最佳答案
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,它在我的计算机上工作。在服务器这里是赢得2008年我得到这个错误。
我尝试从谷歌的解决方案,但没有工作。
比如写在这里,我有 x86项目 Http://www.davesquared.net/2008/12/systembadimageformatexception-on-64-bit.html