Visual Studio 2019 for .Net Core 3.1 中的 WinForms 设计器窗口 [英] WinForms Designer window in Visual Studio 2019 for .Net Core 3.1

查看:43
本文介绍了Visual Studio 2019 for .Net Core 3.1 中的 WinForms 设计器窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Visual Studio 2019 在 .Net Core 3.1 中创建一个 WinForms 应用程序.

这就是我的应用程序的样子.

但是在单击表单 Form1.cs 上我没有看到设计器窗口.而当我使用 .Net Framework v4.7.1

创建相同的

我可以看到设计器窗口.

根据以下链接,使用 Visual Studio 2019,我不需要任何额外的配置/vsix 即可.

  • 看不到任何启用它的选项.

    请检查 &建议我如何获得设计器窗口 &使用 .Net Core 3.1 时使用工具栏设计 WinForms 应用

    谢谢!

    解决方案

    在 Visual Studio 2019 16.5 Preview 1 之前,您必须安装 .NET Core WinForms 设计器,通过 VSIX 安装程序.

    从 Visual Studio 2019 16.5 Preview 1 开始,它是 Visual Studio 的一部分,但 您需要启用它.

    I am creating a WinForms application in .Net Core 3.1 using Visual Studio 2019.

    This is how my app looks like.

    But on click form Form1.cs I don't see the designer window. While when I created the same using .Net Framework v4.7.1

    I can see the designer window.

    As per the below link, with visual studio 2019, I dont need any extra configuration/vsix to do so.

    This is how tools options window looks like

    Don't see any such option to enable it.

    Please check & suggest how can I get the designer window & use the toolbar to design the WinForms app when using .Net Core 3.1

    Thanks!

    解决方案

    Prior to Visual Studio 2019 16.5 Preview 1 you have to install the .NET Core WinForms designer via a VSIX installer.

    From Visual Studio 2019 16.5 Preview 1 onwards it is part of Visual Studio but you need to enable it.

    这篇关于Visual Studio 2019 for .Net Core 3.1 中的 WinForms 设计器窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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