是否可以在 .NET Core 中制作桌面 GUI 应用程序? [英] Is it possible to make desktop GUI application in .NET Core?

查看:70
本文介绍了是否可以在 .NET Core 中制作桌面 GUI 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我多年来一直在开发 Windows 窗体程序.我现在正在研究 .NET Core(包括 ASP.NET Core MVC).我正在寻找新的 GUI 桌面技术.在 Visual Studio 2015 更新 3 中,我看不到在 .NET Core 中制作 GUI 应用程序的任何选项.

I have been developing Windows Forms programs for few years. I am now looking into .NET Core (including ASP.NET Core MVC). I am searching for the new GUI desktop technology. In Visual Studio 2015 update 3 I can't see any option to make a GUI app in .NET Core.

我错过了什么?

推荐答案

您没有遗漏任何东西.在 .NET Core 3 之前,微软没有提供直接使用 .NET Core 创建 GUI 应用程序的合理方法,尽管 UWP(通用 Windows 平台)部分构建在 .NET Core 之上.

You were not missing anything. Microsoft shipped no reasonable way to create GUI applications directly using .NET Core until .NET Core 3, though UWP (Universal Windows Platform) is partially built on top of .NET Core.

.NET Core 3.0 包括对 Windows 窗体和 WPF 的支持,但它仅适用于 Windows.

.NET Core 3.0 includes support for Windows Forms and WPF, though it is Windows-only.

.NET 6 将包括 .NET MAUI,它将支持 Windows 和 macOS 桌面应用程序和移动应用程序,以及社区(而非 MS)支持的 Linux 桌面应用程序..NET 5 将包含 .NET MAUI 的预览版.

.NET 6 will include .NET MAUI, which will support Windows and macOS desktop applications and mobile applications, with Linux desktop applications supported by the community (not MS). .NET 5 will include a preview version of .NET MAUI.

有关第三方跨平台选项,请参阅其他答案.

For third-party cross platform options, see other answers.

这篇关于是否可以在 .NET Core 中制作桌面 GUI 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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