2014-01-13 62 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