相关疑难解决方法(0)

System.BadImageFormatException:无法加载文件或程序集

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>
Run Code Online (Sandbox Code Playgroud)

服务是x86编译,即使两台计算机都是x64,它可以在我的计算机上运行.在服务器哪里是win 2008我得到这个错误.

我试试谷歌的解决方案但没有工作.

就像写在这里我有x86项目 http://www.davesquared.net/2008/12/systembadimageformatexception-on-64-bit.html

c# 64-bit

212
推荐指数
4
解决办法
37万
查看次数

标签 统计

64-bit ×1

c# ×1