WPF 应用程序可以在带有 .Net Core 3 的 Linux 或 Mac 上运行吗? [英] Can WPF applications be run in Linux or Mac with .Net Core 3?

查看:45
本文介绍了WPF 应用程序可以在带有 .Net Core 3 的 Linux 或 Mac 上运行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

微软宣布 .NET Core 3 带有 WPF 和 Windows 窗体.那么我可以使用 .NET Core 3 为 Linux 或 Mac 创建桌面应用程序吗?

Microsoft announced .NET Core 3 comes with WPF and Windows Forms. So can I create a desktop application for Linux or Mac using .NET Core 3?

推荐答案

不,他们已经明确说明这些只是窗口.在 .NET Core 3.0 的一次讨论中,他们还澄清说,他们不打算在未来使这些功能跨平台,因为整个概念源自 Windows 特定功能.他们谈到要考虑跨平台应用程序的全新想法,这并不容易.

No, they have clearly stated that these are windows only. In one of the .NET Core 3.0 discussions, they have also clarified that they do not intend to make these features cross-platform in the future since the whole concept is derived from windows specific features. They talked about thinking of a whole new idea for cross-platform applications, which is not easy.

来源:https://youtu.be/HNLZQeu05BY

更新

新发布的 .NET 5 现在旨在通过不再将其称为.NET Core"来避免所有这些混淆.

The newly announced .NET 5 now aims in avoiding all this confusion by no longer calling it ".NET Core".

更新 2

使用 blazor 客户端(2020 年 5 月发布),有一个新的使用 webview 的跨平台应用程序的实验项目正在进行中.

With blazor client-side (releases on may, 2020), there is a new experimental project for cross-platform apps using webview that is in the works.

来源:https://blog.stevensanderson.com/2019/11/01/exploring-lighter-alternatives-to-electron-for-hosting-a-blazor-desktop-app/

这篇关于WPF 应用程序可以在带有 .Net Core 3 的 Linux 或 Mac 上运行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆