2010中缺少A​​SP

2010中缺少A​​SP

本文介绍了Visual Studio 2010中缺少A​​SP.NET项目模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.NET框架4.0和Visual Studio 2010的一个全新的电脑上,以便全新安装。加载了Visual Studio 2010和选择新建项目只列出了网络下的以下项目typess:

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应用程序
AjaxControlExtender
AjaxServerControl
ASP.NET服务器控件

ASP.NET MVC 3 Web AppAjaxControlExtenderAjaxServerControlASP.NET Server Control

其他所有项目类型失踪,我无法加载现有的.NET项目(给我的项目类型不支持的错误。任何想法发生了什么,或我怎么能重新安装丢失的模板?

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?

我已经尝试使用提升的权限运行程序devenv.exe / installvstemplates。

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

推荐答案

如果您没有安装的Visual Web Developer组件,ASP.NET项目模板,将无法完全安装。当然,因为安装程序,然后认为这并不需要把它们放在那里作为ASP.NET是一个Web开发框架。

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.

在这种情况下,只需再次运行安装程序,并确保Visual Web Developer中被选中。然后,安装程序会添加相应的项目模板。

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.

这篇关于Visual Studio 2010中缺少A​​SP.NET项目模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 02:27