No Templates in Visual Studio 2017

No templates in Visual Studio 2017

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.

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.

Sample Image

Showing Template

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



Leave a reply



Submit