.net - 我想在 Linux mono 上运行基于 Vb.Net Hello World GUI 的应用程序

标签 .net vb.net linux mono

当我试图通过单声道在 Linux 上运行 vb.net 应用程序时,出现以下错误。

(HelloWorld.exe:965): WARNING **: The following assembly referenced from /root/HelloWorld/HelloWorld/bin/Debug/HelloWorld.exe could not be loaded:
     Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
     Version:    8.0.0.0
     Public Key: b03f5f7f11d50a3a
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/root/HelloWorld/HelloWorld/bin/Debug/).

最佳答案

可能您的系统中没有安装正确的库。如果您使用的是 ubuntu,请尝试

sudo apt-get install mono-vbnc

否则为您的发行版搜索类似的包。您也可以从 here 编译它.

关于.net - 我想在 Linux mono 上运行基于 Vb.Net Hello World GUI 的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6730029/

相关文章:

.net - 在 DDD 中,在哪里保存自定义异常(应用程序异常)?在基础设施层?

asp.net - 从数据源填充 DropDownList

.net - 如何使用 .NET 检索在数码相机上拍摄的照片的属性?

vb.net - 关闭由函数创建的 DbConnection

c++ - Ubuntu 上的 Eclipse 和 OpenCV

c# - TranslateTransform 取消 ScaleTransform

c# - 如何处理我们没有引用的一次性元素?

vb.net - *微妙* VB函数和Convert.To *函数之间的区别?

python - Python 如何读取 Ubuntu/Linux 中分离屏幕 session 的标准输出?

c - 如何在 linux 中为 c 程序分配更多的 cpu 和 RAM