BWHazel BWHazel - 28 days ago 18
ASP.NET (C#) Question

Web projects missing in Visual Studio 2015

I recently did a complete uninstall and reinstall of my Visual Studio 2015 Community installation as it was behaving rather odd. However, after reinstall I no longer have any Web templates in the New Project window. I have tried several methods, all of which have not worked:


  • Repaired the Visual Studio installation

  • Uninstall and reinstall the ASP.NET Web Framework and Tools extension

  • Uninstall and reinstall the .NET Core tooling

  • Run devenv.exe /InstallVSTemplates



Visual Studio can still open and run web solutions (ASP.NET MVC 4) and, to some extent, ASP.NET Core projects (IIS Express does not work). The .NET Core project list does not list Web Application either.

This is extremely frustrating: does anyone have any thoughts on how to resolve this other than run another complete uninstall (with VSUninstaller tool on GitHub) or even resetting my Windows 10 installation?

Answer

I managed to fix this issue in the end although I am not entirely sure how! After more uninstallations, reinstallations and updates the web projects became available again.

However, if anyone has any thoughts on a more robust solution please let me know.