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

时间:2011-07-18 07:53:59

标签: .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/).

1 个答案:

答案 0 :(得分:1)

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

sudo apt-get install mono-vbnc

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