Visual Studio 2010中缺少A​​SP.NET项目模板?

编程入门 行业动态 更新时间:2024-10-19 16:28:46
本文介绍了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应用程序AjaxControlExtenderAjaxServerControlASP.NET服务器控件

ASP.NET MVC 3 Web App AjaxControlExtender AjaxServerControl ASP.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项目模板?

本文发布于:2023-11-07 10:58:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566268.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模板   项目   Studio   Visual   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!