首页 > 解决方案 > 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?

标签: c#operating-system

解决方案


.NET 应用程序依赖于平台,只能在 Windows 平台上运行,这就是为什么如果您想在多个平台上运行应用程序时不首选 .NET 的原因。

话虽如此,Microsoft 提出了独立于平台的 .NET Core,因此您在 .NET Core 上创建的任何 Forms 应用程序也将在 Linux 上运行。

如果您想运行纯 .NET 应用程序,我能想到的唯一方法是在您的主机(Linux 或 Mac)上安装 VM,并将 Windows 安装为访客。


推荐阅读