我无法在monodevelop
上使用Manjaro
。我尝试了所有要安装在AUR
中的不同选项(monodevelop-beta
,monodevelop-bin
,monodevelop-git
,monodevelop-nuget3
,monodevelop-stable
),但大多数都无法构建。
唯一没有失败的是monodevlop-bin
,但我无法获得它来构建程序。起初我得到这个错误:
The imported project "/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. (MSB4019)
在指定位置没有文件夹“ Roslyn”。我创建了一个具有该名称的文件夹,然后从“ Roslyn”文件夹中的Microsoft.CSharp.targets
复制了文件msbuild/15.0/bin/
(将副本重命名为Microsoft.CSharp.Core.targets
)。
这可能不是一个好主意,但是为了以防万一,我尝试了一下。
这似乎确实起作用,但是随后我又遇到了另一个错误:
Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.7-api/mscordlib.dll".
Could not load file or assebly 'System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a or' or one of its dependencies. (MSB3248)
doctorzeus在2019-12-14 14:34发表评论
由于与最新版本的mono和msbuild以及github项目上不再有“稳定”的构建模式,我将不再使用该项目。
可悲的是,不久前我停止使用此IDE来支持VSCode,并且也不再有时间维护与各种依赖项的大量不兼容性。
希望有更多时间的人会接管。。>
这是comments of the AUR page中的原始维护者/构建者(在撰写本文时)。在他之后,似乎另一个人试图继续维护它,但是他仍然失败了:
coder2000在2020-03-31 18:51上进行了评论
当前构建过程已中断,文档不完整。
因此,目前,您不能在基于
monodevelop
的系统上使用Arch
(至少从AUR
起)。您将不得不使用替代IDE,例如JetBrains Rider,或文本编辑器(具有适当的扩展名),例如VSCode或Atom。
[另外,根据个人经验,我建议不要使用基于Arch
的发行版进行编程,因为这样的问题。使用Ubuntu
或其他基于Ubuntu
的内容可以最轻松地使用编程工具(我使用Linux Mint
进行编程,但没有遇到任何大问题)。