【发布时间】:2020-05-09 14:16:07
【问题描述】:
我正在使用 Visual Studio 2019 在.Net Core 3.1 创建一个 WinForms 应用程序。
这就是我的应用的样子。
但在单击表单 Form1.cs 时,我看不到设计器窗口。而当我使用.Net Framework v4.7.1
我可以看到设计器窗口。
根据以下链接,使用 Visual Studio 2019,我不需要任何额外的配置/vsix 即可。
这是工具选项窗口的样子
没有看到任何此类启用它的选项。
请检查并建议在使用 .Net Core 3.1 时如何获取设计器窗口并使用工具栏设计 WinForms 应用程序
谢谢!
【问题讨论】:
-
我认为您在 VS Options 中启用了设计器功能?
Tools > Options > Environment > Preview Features and select the Use the preview Windows Forms designer for .NET Core apps option. -
您需要启用表单设计器。它仍然是一个预览功能
-
@Adriani6 我没有这样的选择。在帖子中添加了相同的附件
-
@PanagiotisKanavos 请查看更新后的帖子和上述评论。谢谢!
-
@Kgn-web 这表明您没有运行最新版本的 Visual Studio。该选项仅在版本 16.5 Preview 1 或更高版本中可用
标签: c# winforms .net-core visual-studio-2019 .net-core-3.1