2014-01-13 45 views
1

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

我已经添加了directhex/monoxide PPA存储库,然后用“sudo apt-get install 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中,用命令 “命令和apt-get安装MonoDevelop的”,我有3.0.1版。然后,我用“sudo apt-get install xterm”安装了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,请帮助我:(。

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

+0

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

回答

0

MonoDevelop的3是一些岁。请升级到4.x版的MonoDevelop