Visual Studio 2017 c++ win32 控制台项目模板

我在 Visual Studio Community 2017 v. 15.3.1 上,我似乎找不到 Win32 控制台应用程序或 Win32 项目.仍然有空的 c++ 项目模板和 Windows 控制台应用程序模板.在开始页面上,我仍然有可用的 win 32 控制台项目,但如果我点击它,我会得到一个提示将其从列表中删除

I am on Visual Studio Community 2017 v. 15.3.1 and I can't seem to find Win32 console application or Win32 project. Still have empty c++ project template and Windows Console Application template. On the start page, I still have win 32 console project available, but if I click it, I get a prompt about removing it from the list

我目前安装了以下工作负载:

I have currently installed following Workloads:

  • 通用 Windows 平台
  • 网络桌面开发
  • 使用 C++ 进行桌面开发
  • 使用 C++ 进行游戏开发
  • Visual Studio 扩展开发除了添加一些额外的组件之外,我没有对工作负载配置进行任何更改.

我一直在摆弄安装程序,但不知道我需要哪个包.有什么建议吗?

I've been fiddling with installer for a while but can't figure out which package I need for this. Any suggestions?

推荐答案

新的更新改变了一些东西.转到文件 -> 新项目 -> Visual c++ -> windows 桌面 -> windows 桌面向导 -> 选择任何你想要的

The new updated changed some things. Go to file -> new project -> visual c++ -> windows desktop -> windows desktop wizard -> select whatever you want

如果您根本没有安装 C++(如上所述默认情况下没有安装),请查看 这里

If you haven't installed C++ at all (doesn't come by default as mentioned above) look here

相关文章