【问题标题】:MonoDevelop is not working (xterm is installed)MonoDevelop 不工作(安装了 xterm)
【发布时间】:2014-01-14 01:23:52
【问题描述】:

我最近安装了elementary OS Luna。我们学校有 C# 课程,所以我想使用 Mono 和 MonoDevelop。

我添加了 directhex/monoxide 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,请帮助我 :(.

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

【问题讨论】:

  • 建议您在 Windows 或 Mac 上使用 Mono 3 以及 Xamarin Studio。到目前为止,我发现在 Linux 上使用它令人沮丧,因为我必须从源代码构建 Mono,以及 MonoDevelop。

标签: linux ubuntu mono


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-06-29
    • 2013-02-06
    • 2018-09-23
    • 1970-01-01
    • 1970-01-01
    • 2019-01-19
    • 1970-01-01
    • 2011-05-25
    相关资源
    最近更新 更多