Sir Mishaa
Sir Mishaa

Reputation: 590

(asp.net) MVC Template is missing in Visual Studio 2017

I searched for more than an hour but it seems that the MVC template is missing This is normally what I need to have: Screenshot with MVC

But here's what I really have : MVC Missing

How I can fix it ? Thank you.

This isn't a duplicate with (Missing MVC template in Visual Studio 2015) : Web developer tools is no longer present on version 2017 of visual studio.

Upvotes: 0

Views: 3550

Answers (2)

Shunmuganathan S
Shunmuganathan S

Reputation: 1

I was able to get all the templates by performing the below steps.

1) Go to C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\common7\iDE\ProjectTemplates\csharp\web\1033\WebTemplateCloud45

2) Double click the WebTemplateCloud.vstemplate file and that brought me all the templates.

Upvotes: 0

Sir Mishaa
Sir Mishaa

Reputation: 590

This is how I solved my problem :

  1. Go to C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\ProjectTemplates\CSharp\Web\ and delete all

  2. Delete (Uninstall) IIS Express 8.0 and reboot your computer

And then, start Visual Studio Installer, and choose repair (It's going to take an hour. It's a bug I think, but the problem was IIS Express 8.0

(Thank JuanR)

Upvotes: 1

Related Questions