简体   繁体   English

似乎缺少 Windows 窗体应用程序选项?

[英]Windows Forms application option seems to be missing?

I'm learning how to design a Windows Forms Application in Visual Studio 2017. The tutorial asks me to create a new project using the File -> New -> Project option and selecting 'Windows Forms Application' in the new project dialog box.我正在学习如何在 Visual Studio 2017 中设计 Windows 窗体应用程序。本教程要求我使用文件 -> 新建 -> 项目选项创建一个新项目,并在新项目对话框中选择“Windows 窗体应用程序”。

However, when I explore this option in Visual Basic, my New Project dialog window only has three options, and the Windows Forms Application is not one of them (see screenshot - attached).但是,当我在 Visual Basic 中探索此选项时,我的“新建项目”对话框窗口只有三个选项,而 Windows 窗体应用程序不是其中之一(见截图 - 附件)。

Just wondered if anyone might be able to suggest how to get this option to appear?只是想知道是否有人能够建议如何让这个选项出现? I have tried looking for the correct option in the Visual Studio installer, but I cannot find it their either.我尝试在 Visual Studio 安装程序中寻找正确的选项,但我也找不到。

Screenshot attached.附上截图。

Windows 窗体

在此处输入图片说明

Because you need to install it.因为你需要安装它。

Go to Visual Studio Installer from the start and check the checkbox .NET Desktop Development .从一开始就转到 Visual Studio 安装程序并选中复选框.NET Desktop Development

看图片

After that restart the VS 2017.之后重新启动VS 2017。

将“通用 Windows 平台开发”添加到您的工作负载Visual Studio 社区

打开 Visual Studio 安装程序,“修改”您的安装并安装“.Net 桌面开发”工作负载。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM