Mono Develop:未找到程序集“System.Deployment”

15

我有一个简单的C#应用程序(单个窗体),最初是在Windows上使用VS编写的。现在我用MonoDevelop打开它,得到了以下警告和错误:

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下编译这个应用程序吗?

1个回答

18

装配件System.Deployment在Mono中未实现,据我所知也没有计划要实现它。尝试从项目引用中删除它,这样就可能在不需要它的情况下构建项目 - 如果不能,请重写依赖它的代码(应该不会有太多,并且它们只能在Windows上运行)。


据说System.Deployment在Mono 4.0中存在[1],但我收到了“未解析的引用'System.Deployment'”的错误信息。有什么想法吗?[1]http://www.go-mono.com/status/status.aspx?reference=4.0&profile=4.5&assembly=System.Deployment - marmistrz
最后更新时间:1175天前。恐怕这些页面已经没有太大用处了。 - skolima

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接