我有一些简单的C#应用程序(单一形式),最初用VS在win上编写。现在我用单声道开发打开它,我得到了警告和错误:
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下编译这个应用程序吗?
答案 0 :(得分:18)
程序集System.Deployment
未在Mono中实现,AFAIK没有计划。尝试从项目的引用中删除它,它可能在没有它的情况下构建 - 如果没有它,那么你必须重写依赖它的代码(不应该有很多,并且它将是Windows特定的)。