Visual Studio 2010 missing ASP.NET project templates?

So, a new installation of .NET Framework 4.0 and Visual Studio 2010 on a completely new computer. Downloading Visual Studio 2010 and selecting New Project lists only the following version of the project in the Web section:

ASP.NET MVC 3 Web Application AjaxControlExtender AjaxServerControl ASP.NET Server Management

All other types of projects are missing, and I can’t load existing .NET projects (gives me the error “project type is not supported.” Any idea what happened and how can I reinstall the missing templates?

I have already tried running devenv.exe / installvstemplates with elevated privileges.

+2
source share
2 answers

If you have not installed the Visual Web Developer component, ASP.NET project templates will not be fully installed. Naturally, because the installer then thinks that you do not need to put them there, because ASP.NET is the foundation of web development.

In this case, just run the installer and verify that Visual Web Developer is installed. Then the installer will add the appropriate project templates.

+4
source

Default Project Templates in Visual Studio

Available templates may vary depending on the version of Visual Studio, SKU, installation options, and other settings. If you are missing the template that comes with your installation, run the devenv.exe file using the / installvstemplates switch . See the Practical Guide for more information . Restore default project templates .

+2
source

All Articles