且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2023-02-15 18:34:28

您需要做的是重新运行安装什么(应该是维护模式),并添加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).

希望帮助!