【问题标题】:.net core in visual studio works with console app but not with wpf or winformsVisual Studio 中的 .net 核心适用于控制台应用程序,但不适用于 wpf 或 winforms
【发布时间】:2023-03-17 00:02:02
【问题描述】:

我已经下载了 Visual Studio Community 2019
版本 16.0.0 但 wpf 和带有 .net 核心的 winforms 说这个To create this project type, go to Tools | Options | Projects and Solutions | .NET Core and check "Use Preview versions of the .NET Core SDK" 我已经检查并重新启动了多次,但错误消息仍然存在

我该怎么办。

【问题讨论】:

标签: c# .net visual-studio .net-core


【解决方案1】:

16.0.0

更新到 16.7.2。 Core 3.1 不在预览版中,自 2019 年底以来一直没有,但其中一些支持是在 VS 2018 的初始版本之后提供的。

还要确保您已使用安装程序(.NET 桌面开发)安装了正确的工作负载。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多