无法创建 WPF .NET 核心应用程序 [英] Cannot create a WPF .NET core application
问题描述
尝试创建一个简单的 .NET 核心 WPF 应用程序,而 VS2019 根本没有它.我收到以下错误:
Trying to create a simple .NET core WPF application and VS2019 simply wont have it. I am getting the following error:
微软 Visual Studio
Microsoft Visual Studio
要创建此项目类型,请转到工具 |选项 |项目和解决方案 |>.NET Core 并选中使用预览.NET Core SDK 的版本"
To create this project type, go to Tools | Options | Projects and Solutions | > .NET Core and check "Use preview versions of the .NET Core SDK"
当我尝试去检查那个标志时,它不在那里.有没有人遇到过这个问题?
When I try to go and check that flag it is not there. Has anyone encountered this problem?
推荐答案
对话框文本当前不正确.检查工具 > 选项 > 环境 > 预览功能.
The dialog text is currently incorrect. Check under Tools > Options > Environment > Preview Features.
Visual Studio 2019,设置为启用 .NET Core SDK 预览
这篇关于无法创建 WPF .NET 核心应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!