Asif Hameed
Asif Hameed

Reputation: 1423

asp.net web application template is missing visual studio 2017

I have visual studio 2017 enterprise edition but asp.net web application template is missing. I have asp.net core 2 installed on my machine.

enter image description here

enter image description here

enter image description here

here are the installed components

enter image description here

It was there but dont know how they got removed.

Please suggest me how can i see web application template and asp.net mvc templates?

Thanks

Upvotes: 5

Views: 10498

Answers (2)

Alexei - check Codidact
Alexei - check Codidact

Reputation: 23078

I encountered the same issue in Visual Studio 2019 and upgrading / repair did not work. However, there is dotnet new that is very easy to use and requires less time than trying to fix VS templates. Example:

  • default project creation (preview)

    dotnet new mvc --dry-run
    
  • help related to various options such as authentication (None, Individual etc.)

    dotnet new mvc --help
    

Upvotes: 0

SBFrancies
SBFrancies

Reputation: 4240

After you select a project type of Web Project then click OK you will be taken to a dialogue which will allow you to select the web project type:

For .Net Framework:

enter image description here

For .Net Core:

enter image description here

Upvotes: 3

Related Questions