单声道返回错误:单mscorlib.dll中未找到中未、单声道、错误、mscorlib

2023-09-06 19:00:35 作者:霹雳惊天雷声动

我已经开发了单GTK 2.10应用程序的MonoDevelop 2.4。

I've developed a mono gtk 2.10 application with monodevelop 2.4.

但是,当我尝试启动.EXE我开发的机器(约5虚拟机),我得到过外界:

But, when i try to launch the .exe outside my develop machine (about 5 virtual machine) i get ever:

单mscorlib.dll中未发现

mono mscorlib.dll was not found

另外,如果我加入mscorlib.dll程序到应用程序的目录,我得到了同样的错误。

Also if i add mscorlib.dll to the app directory, i get the same error.

在那里我错了吗?

推荐答案

它的可能的是,你的程序是建立对一个版本未在其他机器上安装运行的。

It might be that your program was built against a version of the runtime that isn't installed on the other machines.

例如,如果您对1.1或4.0和其他系统编译只有2.0或3.5等。

For instance, If you compiled against 1.1 or 4.0 and your other systems only have 2.0 or 3.5 etc.

既然您有这类问题,你可能想看看 mkbundle 。如果你不需要你的程序分发给第三方,你可能想使用 - 静态选项

Given that you are having these kinds of problems, you might want to look at mkbundle. If you do not need to distribute your program to third parties you might want to use the --static option.