如何在 Linux 的单声道解决方案中删除对 System.Deployment 的引用?

How can I remove references to System.Deployment in mono solution for Linux?

我正在尝试在 Lubuntu 16.04.1 上使用 MonoDevelop 编译出色的开源 dotNET 4.5 程序 "Ketarin"。
有一个错误:
/usr/lib/mono/4.5/Microsoft.Common.targets: Warning: Reference 'System.Deployment' not resolved (Ketarin)

据我了解,一键安装需要System.Deployment。这个应用程序不需要那个,所以我想做的是删除使编译器想要查找 System.Deployment.

的引用

我找遍了System.Deployment的所有代码,没找到。我还搜索了网页中与 System.Deployment 有关的一些 类 的代码,但没有找到任何内容。

密码在
https://bitbucket.org/jimh44/ketarin4linux

有人可以帮忙吗?

谢谢,
吉姆

查看 .csproj 文件并使用文本编辑器对其进行编辑(删除 "Reference" xml 元素)

这一行 - https://bitbucket.org/jimh44/ketarin4linux/src/a9b077be682ae7dce7c76c0df039fd7ae333f020/Ketarin.csproj?at=default&fileviewer=file-view-default#Ketarin.csproj-93

您也可以通过 IDE 执行相同操作(如何删除引用: 视觉工作室 - https://msdn.microsoft.com/en-us/library/wkze6zky.aspx MonoDevelop - http://www.monodevelop.com/documentation/solutions-and-projects-explained/#adding-references-to-other-projects)