4

I installed the VS2017 community and I am lost: the Win32 Console Application in missing.

I don't even have template when I go to New Project and also I cannot create C++ Empty Project in VS2017.

How I can solve it?

Costantino Grana
  • 3,132
  • 1
  • 15
  • 35
Albert
  • 184
  • 3
  • 3
  • 14
  • 1
    ***the win32 console application in missing*** You probably did not install the c++ compiler. I believe that is an option that is turned off by default. – drescherjm Aug 22 '17 at 23:30
  • Go to your add/remove programs and 'modify' your installation to include the c++ options – kvr Aug 22 '17 at 23:36
  • The Win32 template was renamed, so it's possible that's what you're running into. See this question for more info: https://stackoverflow.com/questions/45785786/visual-studio-2017-c-win32-console-project-template – GusP Aug 23 '17 at 00:57
  • @drescherjm I think i marked the c++ compiler when i was installing the VS, but I will check it again – Albert Aug 23 '17 at 03:10

2 Answers2

15

Install all the optional tools for c++ development

then follow these steps ( Microsoft has updated its visual studio and there are some minor changes)

The new updated changed some things. Win32 Console Application is gone in the new update. Go to File -> New Project -> Visual C++ -> Windows Desktop -> Windows Desktop Wizard -> Application type: Console Application (.exe), Additional Options: Empty Project

Then have fun!

Costantino Grana
  • 3,132
  • 1
  • 15
  • 35
Yousef Saber
  • 340
  • 2
  • 7
3

You just need to install "Visual Studio C++ core features". Don't install everything about C++. It consumes too much storage and possibly slow down your IDE.

Steps:

  • Open Visual Studio 2017 Installer.
  • Select "Individual Components" tab.
  • Select "Visual Studio C++ core features".

That's all.

If you are not interested in Game or Mobile C++ development you can remove your selections in "Workloads" tab to get free space in your hard drive :)

Can Turna
  • 31
  • 2