gpt4 book ai didi

c# - 单声道开发 : Assembly 'System.Deployment' not found

转载 作者:可可西里 更新时间:2023-11-01 07:45:29 24 4
gpt4 key购买 nike

我有一些简单的 C# 应用程序(单一形式),最初是在 Win 上用 VS 编写的。现在我用 mono develop 打开它,我收到了警告和错误:

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

最佳答案

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

关于c# - 单声道开发 : Assembly 'System.Deployment' not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9112460/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com