Visual Studio 2013 - 未安装 Visual Basic/Visual C# Web 模板 [英] Visual Studio 2013 - No Visual Basic/Visual C# Web Templates Installed

查看:21
本文介绍了Visual Studio 2013 - 未安装 Visual Basic/Visual C# Web 模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的机器上安装了 Visual Studio 2013 Premium(MSDN 许可证).然而,ASP.NET Web 应用程序模板不存在(Version2012 除外,它为我提供了 MVC 4,请参见下面的屏幕截图):

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):

我现在已经卸载并重新安装了 3 次 VS2013.我删除了 ItemTemplatesCache 和 ProjectTemplatesCache 文件夹,同时运行 devenv/InstallVSTemplates 和 devenv/Setup 无济于事.我还检查了确保已安装 Web 开发人员工具.在Common7IDEProjectTemplatesCacheCSharpWeb 文件夹下,我只看到MVC 4 模板文件.我错过了什么吗?扩展程序或附加程序?

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!

朱迪.

推荐答案

经过数小时的故障排除后,这些是我为解决问题而采取的步骤(在 Windows 7 Ultimate 上).我认为这是安装损坏的问题以及注册表项可能存在的问题,因此我使用以下步骤删除了所有 Microsoft 开发工具:

After many hours of troubleshooting, these are the steps I took to fix the issue (on Windows 7 Ultimate). I assumed it was an issue with a corrupt installation and possible problems with registry keys, so I removed any and all Microsoft development tools using the following steps:

  • 完整的病毒扫描(只是为了确保这与病毒或恶意软件无关).我使用了 Microsoft Security Essentials
  • 下载了 Microsoft FixIt 以在我删除程序时帮助清理注册表项.删除任何程序或程序更新后,我运行此工具以验证是否已完全卸载
  • Visual Studio 2010 - 运行 Visual Studio 2010 卸载实用程序 并删除了该程序.进入控制面板 > 程序 > 卸载程序 > 查看已安装的更新并搜索Visual Studio 2010",然后删除与 VS2010 相关的所有更新(并在每次卸载后运行 FixIt 程序以验证注册表项已被擦除)
  • 按照这篇 MSDN 帖子删除 Visual Studio 2012(特别注意'Optional Shared Packages' 并删除此列表下的所有程序,再次运行 Microsoft FixIt 以验证注册表项已被擦除)
  • 关注 Shawn Harrison 的这篇博文 删除所有 SQL 服务器;还参考了这两篇 MSDN 帖子卸载 SQL Server 的现有实例(安装)卸载后遗留的 SQL Server 文件
  • 卸载了 Visual Studio 2013,以及程序和已安装更新中对Visual Studio 2013"​​的所有引用;每次安装后使用 FixIt 清理注册表项
  • 最后但并非最不重要的是,我删除了所有与 MVC Visual Studio 相关的工具,引用了包括 Web 工具和 Web 平台安装程序在内的扩展
  • FULL VIRUS SCAN (just to make sure this was not related to a virus or malware). I used Microsoft Security Essentials
  • Downloaded Microsoft FixIt to help clean up registry keys as I deleted programs. After I deleted any program or program updates, I ran this tool to verify a clean uninstall had been done
  • Visual Studio 2010 - Ran the Visual Studio 2010 Uninstall Utility and removed the program. Went into Control Panel > Programs > Uninstall a program > View Installed Updates and searched for 'Visual Studio 2010', then removed any updates associated with VS2010 (and ran the FixIt program after every uninstall to verify the registry keys had been wiped)
  • Followed this MSDN post to remove Visual Studio 2012 (paying particular attention to the 'Optional Shared Packages' and removed any and all programs under this list, again running Microsoft FixIt to verify the registry keys were wiped)
  • Followed this blog post from Shawn Harrison to remove all SQL server; also referenced these two MSDN posts Uninstall an Existing Instance of SQL Server (Setup) and SQL Server Files Left After Uninstall
  • Uninstalled Visual Studio 2013, along with all references to 'Visual Studio 2013' in programs and installed updates; used FixIt to clean up registry keys after every install
  • Last but not least, I removed all MVC Visual Studio-related tools, references extensions including Web Tools and Web Platform Installer

这解决了我缺少模板的问题:)

This solved my problem with missing templates :)

(我很感激这一切都是在 SSD 上完成的,但是,我认为使用旧式 HD 会花费 5 倍的时间)

(I'm soooooooo grateful this was all done on an SSD, however, I think it would have taken 5x longer with an old-spinning HD)

大家干杯!

这篇关于Visual Studio 2013 - 未安装 Visual Basic/Visual C# Web 模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆