在Visual Studio 2010中缺少asp.net web应用程序模板

在Visual Studio 2010中缺少asp.net web应用程序模板

问题描述:

我安装了Visual Studio 2010(旗舰版)。

I installed Visual Studio 2010 (ultimate).

当我点击新建项目>的V​​isual Basic(或C#) - >网络,我得到的唯一的选择是AjaxControlExtender,AjaxServerControl和ASP.Net服务器控制。我如何获得ASP.Net WebApplication的选项,以显示?

When I click on New Project-> Visual Basic (or C#)-> Web, the only options i get is AjaxControlExtender, AjaxServerControl and ASP.Net Server Control. How do i get the ASP.Net WebApplication option to show up?

非常感谢。

您需要做的是重新运行安装什么(应该是维护模式),并添加Visual Web开发人员。这可能是没有安装,这就是为什么你不会看到任何的网页模板,但ajaxcontrolextener模板。如果你看到它安装,他们尝试运行与/ installvstemplates devenv.exe的(即C:\\ Program Files文件\\微软的Visual Studio 10.0 \\ Common7 \\ IDE \\ devenv.exe的/ installvstemplates)。

What you need to do is re-run the installation (should be maintenance mode), and add Visual Web Developer. That probably isn't installed, which is why you wouldn't see any web templates but the ajaxcontrolextener templates. If you see that it is installed they try running devenv.exe with the /installvstemplates (i.e. "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /installvstemplates).

希望帮助!