【问题标题】:dotnet new (wpf not found) Visual Studio 2019dotnet new(未找到 wpf)Visual Studio 2019
【发布时间】:2019-02-21 12:44:01
【问题描述】:
dotnet : No templates matched the input template name: wpf.
At line:1 char:1
+ dotnet new wpf -o TestAppWPFCore
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (No templates ma...late name: wpf.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

【问题讨论】:

  • 你能用运行dotnet --info的结果编辑你的问题吗? (我自己试过了,效果很好——我使用的是 SDK 3.0.100-preview-010184)
  • 您安装了哪个 Visual Studio 2019 版本?是否包含最新的 3.0 SDK? dotnet-new 来自 SDK,而不是 Visual Studio。我还可以使用3.0.100-preview-010184 创建 WPF 和 Winforms 应用程序
  • 我使用的是 VS2019 和 3.0.100-preview

标签: .net wpf .net-core


【解决方案1】:

在新版本的 .NET CORE 中修复的问题

【讨论】:

  • 请注意,任何阅读此内容的人,这是 Dotnet core 3+(当前预览版)。这在 dotnet core 2 中不起作用
猜你喜欢
  • 2019-08-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-06-23
  • 1970-01-01
  • 2021-09-09
  • 2018-07-06
  • 2020-02-04
相关资源
最近更新 更多