No templates in Visual Studio 2017
You need to install it by launching the 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.
*as seen in comments below, users were not able to achieve the equivalent using the "Individual Components" tab.
No templates available when creating a new project in Visual Studio
I used a solution presented to me from other sites. One of them said to reinstall templates.
I did the following:
In the command prompt I typed: cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
Then I typed: devenv /installvstemplates
I took a minute but after it completed I opened Visual Studio and tried to create a new project. All my project templates were back in order, including additional templates like Workflow, SharePoint and Silverlight.
Link to other source
Add New Item templates are missing from VS 2019 (v16.10.4)
You can try the following methods:
1.try to repair you visual studio first.
For more details, check: https://learn.microsoft.com/en-us/visualstudio/install/repair-visual-studio?view=vs-2019
2.If the problem persists, try to perform a thorough uninstall for Xamarin for Visual Studio.
For more details, check:https://learn.microsoft.com/en-us/xamarin/cross-platform/troubleshooting/questions/uninstall-xamarin-vs
Visual Studio 2017 Blazor Project Templates Missing
Okay, so I figured it out. I went to File >> New >> Project, selected "ASP.Net Core Web Application" then on the next window I had to change "ASP.NET Core 2.2" to "ASP.NET Core 2.1", then the templates were there.
VisualStudio 2017 Console Project template missing
Visual Studio 2017 setup allows you to very fine-grainedly install various "components" separately, or groups of components delivered as "workloads".
You're missing the workload named ".NET desktop development", which contains among others these project templates. So re-run setup and install that workload.
Related Topics
Does C# Support a Variable Number of Arguments, and How
How to Raise an Event via Reflection in .Net/C#
JSONserializersettings and ASP.NET Core
Why Can't You Use the Keyword 'This' in a Static Method in .Net
How Does Static Field Initialization Work in C#
What Is the JSON.Net Equivalent of Xml's Xpath, Selectnodes, Selectsinglenode
How to Add a Trace() to Every Method Call in C#
What's So Bad About Building Xml with String Concatenation
How to Downgrade from Visual Studio 2012 Project to Visual Studio 2008
How to Implement Inotifypropertychanged in Xamarin.Forms
Why the Default Synchronizationcontext Is Not Captured in a Console App
Entity Framework and Business Objects
What's the Best Way to Pass Event to Viewmodel
Call a Method from Another Form