gpt4 book ai didi

linux - MonoDevelop 不工作(安装了 xterm)

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:34:52 25 4
gpt4 key购买 nike

我最近安装了 elementary OS Luna。我们学校有 C# 类(class),所以我想使用 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,请帮助我:(。

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

最佳答案

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

关于linux - MonoDevelop 不工作(安装了 xterm),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21087025/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com