No templates in Visual Studio 2017

After installing Visual Studio 2017 (RC) from scratch, I cannot find the standard list of templates. I am particularly interested in Console Application (C#) template and Windows Form (C#) template . I am sure that I am missing one of the individual components. I am not sure which one should be installed, and I do not want to install all of them.

See my list with installed components.

enter image description here

enter image description here

+91
c # visual-studio-2017 visual-studio-templates
Dec 16 '16 at 17:19
source share
8 answers

You need to install it by running the installer.

Installer Link

Go to the "Workload" tab * in the upper left corner, then install the upper right ".NET-Desktop Development" and click "Install." Please note that it can change your installation size (bottom right) and you can set other workloads, but you must install β€œ.NET-Desktop Development” at a minimum.

Open the Visual Studio installer, or "

*, as can be seen from the comments below, users were not able to achieve the equivalent using the tab "Individual components".

+119
Dec 16 '16 at 17:23
source share

If you installed .NET desktop development and still do not see the templates, then VS will probably get the templates from your folder with your templates and will not install. To fix this, copy the installed templates folder to the user folder.

This is your "installed" folder C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ ProjectTemplates

This is your "normal" folder C: \ Users \\ Documents \ Visual Studio 2017 \ Templates \ ProjectTemplates

This usually happens when you are in the office and you use VS as an administrator, and the visual studio gets confused how to combine both of them, and if you notice that they do not have the same folder structure and folder names. it's CSHARP and the other is C # ....

I did not have the same problem when I installed the VS 2017 community version at home. This happened when I installed the visual studio 2017 "Enterprise".

+15
Oct. 23 '17 at 17:38 on
source share

My personal experience was that I first installed the Team Foundation Server client for 2017 (used it as a proof of concept for our QA team while I was still using VS2015), and then watched its installation of Visual Studio 2017 to start development later.

In my Start menu, I ended up with Visual Studio 2017 and Visual Studio 2017 (2) . In Visual Studio 2017 (2), there were all the templates that I was missing. Following the steps found in the first answer to this question (which was clear and easy to use), I did not fix my problem. I thought that the launch of the client would be updated to the Development Client, but he did not. I renamed it to Visual Studio Professional , and now I have everything I need. Not sure if this is happening to anyone else, but it happened to me, so I hope this helps someone.

+2
Jul 05 '17 at 16:41
source share

NOTE. This section discusses installation issues with MS project templates.

I came here through a search on Google, I searched for the missing template in the Visual Studio 2017 File menu: in VS-2015 it was Export to Template , and I used it to add my own standard project elements.

Meanwhile, I found the answer. My problem was not related to the default templates, and it does not require the installation of things. The Export to Template option has been moved to the VS-2017 project menu !

+2
Aug 12 '17 at 15:20
source share

I had to reinstall the .NET desktop development (workload tab), even the button showed: Modify

After that came the Visual C # selection :) (And now I can use the APP console template)

+2
Nov 05 '17 at 19:34 on
source share

My C ++ templates were there all the time, it was my C # that were missing.

As with CSharpie, after many attempts to change / reinstall, oddly enough, I finally got the following working:
- run the installer, but uncheck the box " Developing the desktop using C ++ ".
- allow the installer to complete
- Run the installer again and select " Desktop Development with C ++ ".
- allow the installer to complete

+1
Dec 13 '18 at 18:24
source share

I found the path and wrote it in options enter image description here

+1
Jan 12 '19 at 9:13
source share

In my case, I had all the necessary functions, but I installed the Team Explorer version (I accidentally used the wrong installer) before installing Professional.

When launching the Team Explorer version, only the "Blank Solution" option was available.

The Team Explorer EXE file was located in: "C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ TeamExplorer \ Common7 \ IDE \ devenv.exe"

After I launched the correct EXE, Visual Studio began to work as expected.

The professional EXE file was located in the folder "C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ Professional \ Common7 \ IDE \ devenv.exe".

0
Jan 17 '18 at 18:52
source share



All Articles