c# - Is it possible to install windows app on linux or mac OS?
问题描述
I have created a windows forms app which will have some configurations and based on that app will collect files from particular folder and transfer it to FTP.
A setup installable file is created for this app. Is it possible to this app to install on linux or mac OS?
解决方案
.NET 应用程序依赖于平台,只能在 Windows 平台上运行,这就是为什么如果您想在多个平台上运行应用程序时不首选 .NET 的原因。
话虽如此,Microsoft 提出了独立于平台的 .NET Core,因此您在 .NET Core 上创建的任何 Forms 应用程序也将在 Linux 上运行。
如果您想运行纯 .NET 应用程序,我能想到的唯一方法是在您的主机(Linux 或 Mac)上安装 VM,并将 Windows 安装为访客。
推荐阅读
- c# - Websocket 不适用于 Azure 应用服务
- c# - Forge 中的外部 iLogic 规则
- python - 条件为假时如何返回for循环顶部?
- python - 将列值转换为行
- java - 使用 Chaquopy 在 Android Studio 中的 Java 类活动中运行 Python 脚本
- c# - 无法在 Unity3D 中向我的对象添加强制
- webserver - ESP8266 一种确定是否与客户端进行新会话的方法
- c - 文件的 OpenSSL 哈希在 C 中是相同的
- kubernetes - ingress 不适用于 GRPC 网关。HTTP 请求没有按照入口的预期转发到 GRPC 网关
- mongodb - 排序和限制嵌入式文档 MongoDB