MonoDevelop无法正常工作(已安装xterm)

时间:2014-01-13 08:47:19

标签: linux ubuntu mono

我最近安装了基本操作系统Luna。我们学校有C#课程,所以我想使用Mono和MonoDevelop。

我添加了directhex / oneoxide PPA存储库,然后我用“sudo apt-get install mono”安装了Mono。

mono -V返回:

Mono JIT compiler version 3.2.1 (Debian 3.2.1+dfsg-1~pre2)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen

然后,我安装了MonoDevelop,命令为“sudo apt-get install monodevelop”,我的版本为3.0.1。然后,我安装了xterm,“sudo apt-get install xterm”。

我的MonoDevelop正常运行,直到我想运行我的应用程序。

当我使用F5或Ctrl + F5时,它会返回:

System.InvalidOperationException: File name has not been set
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 
  at MonoDevelop.Core.Execution.ProcessWrapper.Start () [0x00006] in /build/buildd/monodevelop-3.0.1/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessWrapper.cs:27 
  at (wrapper remoting-invoke-with-check) MonoDevelop.Core.Execution.ProcessWrapper:Start ()
  at MonoDevelop.Platform.GnomePlatform.StartConsoleProcess (System.String command, System.String arguments, System.String workingDirectory, IDictionary`2 environmentVariables, System.String title, Boolean pauseWhenFinished) [0x00090] in /build/buildd/monodevelop-3.0.1/main/src/addins/GnomePlatform/GnomePlatform.cs:219 
  at MonoDevelop.Core.Execution.ProcessService.StartConsoleProcess (System.String command, System.String arguments, System.String workingDirectory, IDictionary`2 environmentVariables, IConsole console, System.EventHandler exited) [0x000e5] in /build/buildd/monodevelop-3.0.1/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs:211 
  at MonoDevelop.Debugger.Soft.SoftDebuggerEngine+<CreateDebuggerStartInfo>c__AnonStorey1.<>m__6 (System.Diagnostics.ProcessStartInfo info) [0x00000] in /build/buildd/monodevelop-3.0.1/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs:84 
  at Mono.Debugger.Soft.VirtualMachineManager.BeginLaunch (System.Diagnostics.ProcessStartInfo info, System.AsyncCallback callback, Mono.Debugger.Soft.LaunchOptions options) [0x00139] in /build/buildd/monodevelop-3.0.1/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachineManager.cs:101 
  at Mono.Debugging.Soft.SoftDebuggerSession.StartLaunching (Mono.Debugging.Soft.SoftDebuggerStartInfo dsi) [0x001d2] in /build/buildd/monodevelop-3.0.1/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:209 
  at Mono.Debugging.Soft.SoftDebuggerSession.OnRun (Mono.Debugging.Client.DebuggerStartInfo startInfo) [0x0002d] in /build/buildd/monodevelop-3.0.1/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:111 
  at Mono.Debugging.Client.DebuggerSession+<Run>c__AnonStorey6.<>m__3 () [0x00000] in /build/buildd/monodevelop-3.0.1/main/src/core/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:306 

我真的很想在学校使用Linux,但这个错误迫使我回到Windows,请帮助我:(。

另外,对不起我的英语,这不是我的母语。谢谢你的帮助。

1 个答案:

答案 0 :(得分:0)

MonoDevelop 3已有几年历史了。请升级到MonoDevelop 4.x