Can WPF applications be run in Linux with .Net Core 3?

拜拜、爱过 提交于 2020-02-12 08:48:45

问题


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?


回答1:


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.

Source: https://youtu.be/HNLZQeu05BY

Update

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

Update 2

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.

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




回答2:


No with WPF or Winforms. But you still can develop desktop apps on Linux, with .NET Core, using other libs like GtkSharp or Avalonia



来源:https://stackoverflow.com/questions/53954047/can-wpf-applications-be-run-in-linux-with-net-core-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!