小编use*_*096的帖子

安装服务时出现System.BadImageFormatException

当我尝试运行安装程序来设置服务时,我遇到异常:

# ./InstallUtil ../../../../Applications/GasPosApp/bin/Wrapper.exe -s ../../../
../Applications/GasPosApp/properties/DispenserViewerApplication.wrapper.conf
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.
Run Code Online (Sandbox Code Playgroud)

初始化安装时发生异常:

System.BadImageFormatException: Could not load file or assembly 'file:///C:\Appl
ications\GasPosApp\bin\Wrapper.exe' or one of its dependencies. The module was e
xpected to contain an assembly manifest..
Run Code Online (Sandbox Code Playgroud)

c# visual-studio-2010

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

c# ×1

visual-studio-2010 ×1