Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
357 views
in Technique[技术] by (71.8m points)

asp.net mvc - Visual Studio 2013 - No Visual Basic/Visual C# Web Templates Installed

I've installed Visual Studio 2013 Premium (MSDN license) on my machine. Yet, the ASP.NET Web Application template is not there (except for Version2012, which offers me MVC 4, see screenshot below):

Image showing no web templates available

I have uninstalled and reinstalled VS2013 three times now. I've deleted the ItemTemplatesCache and ProjectTemplatesCache folders along with running the devenv /InstallVSTemplates and devenv /Setup to no avail. I've also checked to make sure web developer tools are installed. Under the Common7IDEProjectTemplatesCacheCSharpWeb folder, I only see MVC 4 template files. Am I missing something? An extension or additional program?

Below I added a screenshot of the frameworks I have installed. Any direction or advice would be appreciated. Thank you!

Image showing frameworks installed

Jodie.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I think that "Re-install Visual Studio from scratch" is not a solution.

I have faced with the described problem and found much faster way to fix it:

  1. First of all, try to repair Visual Studio installation (in "Control PanelProgramsPrograms and Features" find your Visual Studio, right-click and select "Repair"). Reboot after (!).
  2. Check if template appeared in the Visual Studio. If not, then: in the "Control PanelProgramsPrograms and Features" make sure that you have "Microsoft Web Platform Installer 4.x" installed (I have 4.6 version). If not - install it from here: http://www.microsoft.com/web/downloads/platform.aspx
  3. Run "Web Platform Installer" (it should be here: "%ProgramFiles%MicrosoftWeb Platform InstallerWebPlatformInstaller.exe")
  4. On the "Products" tab find the line "Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013" (make sure that it is not for 2012!). If line has "Add" button on the right side enabled, then click it and install the tools. Reboot PC (!) and you should have your ASP.NET project template back.
  5. If line says "Installed", then you should repair it via "Control PanelProgramsPrograms and Features", just find "Microsoft ASP.NET and Web Tools 2013.1 -Visual Studio 2013", right-click and select "Repair"). Reboot PC (!) and you should have your ASP.NET project template back!

Cheers!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...