Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No templates in Visual Studio 2017

After a Visual Studio 2017 (RC) installation from scratch, I can't find a standard list of templates. I'm specifically interested in the Console Application (C#) template and the Windows Form (C#) template. I'm pretty sure I'm missing one of the Individual Components. I'm not sure which one is supposed to be installed and I don't want to install all of them.

Please see my list with components installed.

enter image description here

enter image description here

like image 836
Serge Voloshenko Avatar asked Dec 16 '16 17:12

Serge Voloshenko


People also ask

Where can I find templates in Visual Studio?

By default, user templates are located in: %USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates. %USERPROFILE%\Documents\Visual Studio 2019\Templates\ItemTemplates.

How do I add a template to VS?

On the Select Item References page, select the assembly references to include in the template, and then choose Next. On the Select Template Options page, enter the template name and optional description, icon image and preview image, and then choose Finish. The files for the template are added to a .

How do I find the template of a project in Visual Studio?

For example, you can right-click the project > click properties > select Application and see(refer to) the related information, for example, Output type -- Windows Application, Console Application, Class Library… Or you can find some related information about the project type from items, files etc.


1 Answers

You need to install it by launching the installer.

Link to installer

Click the "Workload" tab* in the upper-left, then check top right ".NET-Desktop Development" and hit install. Note it may modify your installation size (bottom-right), and you can install other Workloads, but you must install ".NET-Desktop Development" at least.

Open Visual Studio installer; either "Modify" existing installation or begin a new installation. On the "Workloads" tab, choose the ".NET desktop devvelopment" option

*as seen in comments below, users were not able to achieve the equivalent using the "Individual Components" tab.

like image 137
CSharpie Avatar answered Nov 04 '22 18:11

CSharpie