Why CPP Project templates don't appear in visual studio 2022?

3.3k Views Asked by At

Installed the latest version of VS2022 with the workload desktop development with c++ (Accepted all default settings and checkboxes) , The downloading and installation were completed successfully. enter image description here

When I launched visual studio 2022 to create a new project, there are no CPP project templates as you can see, reinstalling and repairing didn't help, How to fix it?

enter image description here

2

There are 2 best solutions below

1
keyman On

This solves my problem C++ Project templates don't appear in visual studio 2022?

  1. Make sure Visual Studio is up to date.
  2. Open Visual Studio Installer. Press more and then repair.
  3. You should be able to see the template once it finishes.
0
Moha Dehghan On

I copied the VC folder from

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\ProjectTemplates

to

C:\Users<user>\Documents\Visual Studio 2022\Templates\ProjectTemplates

and restarted the Visual Studio. Now I see all the C++ project templates.