mono-develop:Assembly';系统部署';找不到

本文关键字:部署 找不到 系统 mono-develop Assembly | 更新日期: 2023-09-27 18:22:09

我有一些简单的C#应用程序(单一形式),最初是在获胜时用VS编写的。现在我已经用mono开发打开了它,我得到了警告和错误:

Warning: Assembly 'System.Deployment' not found. Make sure that the assembly exists in disk. If the reference is required to build the project you may get compilation errors. (Tring.Fiscal.Primjer)
Error: The compiler appears to have crashed. Check the build output pad for details. (Tring.Fiscal.Primjer)

知道如何在linux下编译这个应用程序吗?

mono-develop:Assembly';系统部署';找不到

程序集System.Deployment没有在Mono中实现,AFAIK也没有计划将其实现。尝试从项目的引用中删除它,它可能会在没有它的情况下构建-如果没有,那么你必须重写依赖它的代码(应该没有太多,而且它无论如何都是特定于Windows的)。