Visual Studio 2017 c++ win32 console project template

南楼画角 提交于 2019-11-27 16:23:40

问题


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

EDIT: I have currently installed following Workloads:

  • Universal Windows Platform
  • Net desktop development
  • Desktop development with C++
  • Game Development with C++
  • Visual Studio extensions development I've done no changes to workload configuration, save from adding a few extra components.

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


回答1:


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

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




回答2:


This seems to work. Credit all goes to the original website! :)
(https://developercommunity.visualstudio.com/content/problem/93159/cant-find-win32-console-application-for-new-projec.html )

If you are using Visual Studio 2017, and can't find "win32 console project" after File ->> New ->> Project:
(https://imgur.com/a/3mmgyP3 : VS 2017 "New Project" without "win32 console project" )

Go to File ->> New ->> Project ->> Windows Desktop Wizard ->> select "Empty Project"

VISUAL STUDIO 2015
(https://imgur.com/a/9H7sHfV : File ->> New ->> Project ->> "Win32 Console Application")

VISUAL STUDIO 2017
(https://imgur.com/a/5Qqzf1L : File ->> New ->> Project ->> "Windows Desktop Wizard")



来源:https://stackoverflow.com/questions/45785786/visual-studio-2017-c-win32-console-project-template

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!