Visual Studio 2010 missing ASP.NET projects templates?

13,272

Solution 1

If you didn't install the Visual Web Developer component, the ASP.NET project templates won't be fully installed. Naturally, because the installer then thinks it doesn't need to put them there as ASP.NET is a web development framework.

In that case, just run the installer again and make sure Visual Web Developer is checked. The installer will then add the appropriate project templates.

Solution 2

Default Project Templates in Visual Studio

Available templates may vary according to Visual Studio version, SKU, installation options, and other customizations. If you are missing a template that comes with your installation, run devenv.exe with the /installvstemplates switch. For more information, see How to: Restore Default Project Templates.

Share:
13,272
Scott
Author by

Scott

C# programmer

Updated on June 05, 2022

Comments

  • Scott
    Scott almost 2 years

    So brand new installation of .NET Framework 4.0 and Visual Studio 2010 on a brand new computer. Loading up Visual Studio 2010 and selecting New Project only lists the following project typess under "Web":

    ASP.NET MVC 3 Web App AjaxControlExtender AjaxServerControl ASP.NET Server Control

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

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