此应用程序支持的C#linux mono运行时版本不可用

时间:2016-12-13 01:05:48

标签: c# linux ubuntu mono xbuild

我在stackoverflow上看到了关于这个主题的其他问题,但对我来说是不同的

这是我的方案(在ubuntu上)

setWrapStyleWord(true)

在mono目录中我得到了这个

 airone@airone:~/LibUsbDotNet_Bin.2.2.8$ sudo mono Test_Info.exe 
 WARNING: The runtime version supported by this application is unavailable.
 Using default runtime: v4.0.30319
 The assembly mscorlib.dll was not found or could not be loaded.
 It should have been installed in the `/usr/local/lib/mono/4.5/mscorlib.dll' directory.
 airone@airone:~/LibUsbDotNet_Bin.2.2.8$ 
4.5中的

有那个文件

airone@airone:/usr/lib/mono$ ls -l
totale 148
drwxr-xr-x   2 root root  4096 dic  7 13:44 2.0
drwxr-xr-x   2 root root 20480 dic 13 01:24 2.0-api
drwxr-xr-x   2 root root  4096 dic 13 01:24 3.5-api
drwxr-xr-x   2 root root 12288 dic 13 01:24 4.0
drwxr-xr-x   2 root root 20480 dic 13 01:24 4.0-api
drwxr-xr-x   4 root root 20480 dic 13 01:27 4.5
drwxr-xr-x   3 root root 24576 dic 13 01:24 4.5-api
drwxr-xr-x   3 root root  4096 dic  7 13:44 aot-cache
drwxr-xr-x   2 root root  4096 dic  7 13:42 compat-2.0
drwxr-xr-x 234 root root 12288 dic  7 13:49 gac
drwxr-xr-x   2 root root  4096 dic 13 01:24 lldb
drwxr-xr-x   3 root root  4096 dic  7 13:44 mono-configuration-crypto
drwxr-xr-x   2 root root  4096 dic 13 01:27 monodoc
drwxr-xr-x   5 root root  4096 dic  7 13:42 xbuild
drwxr-xr-x   4 root root  4096 dic  7 13:42 xbuild-frameworks
airone@airone:/usr/lib/mono$ 

让我疯狂

谁帮帮我?感谢

0 个答案:

没有答案