无法创建 WPF .NET 核心应用程序 [英] Cannot create a WPF .NET core application

查看:33
本文介绍了无法创建 WPF .NET 核心应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试创建一个简单的 .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屋!

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