"新增面积"没有出现在Visual Studio 2010的最终 [英] "Add Area" is not appearing in visual studio 2010 ultimate

查看:159
本文介绍了"新增面积"没有出现在Visual Studio 2010的最终的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要学习,如何在果园CMS中的自定义模块(ASP.net MVC3)。
  对于我从这个网址学习的http://docs.orchardproject.net/Documentation/Walkthrough-Writing-An-Orchard-Module.There第一步是右键单击VS Solution Explorer中的项目节点,并选择添加>区......但是我无法找到任何在我的Visual Studio最终2010.I区的模板已经搜查谷歌,但我无法找到任何有用的信息。

I want learn, how to create a custom module in orchard cms (ASP.net mvc3). For that i am studying from this url http://docs.orchardproject.net/Documentation/Walkthrough-Writing-An-Orchard-Module.There the first step is "Right-click the project node in VS Solution Explorer, and choose "Add > Area..."".But i can't find any "Area" template in my visual studio ultimate 2010.I have searched in google, but i can't find any usefull information.

请帮帮我!

推荐答案

我猜的Visual Studio不能识别这个项目作为一个MVC类型的项目。 VS眺望项目文件,看看它是那么它将offere项目特定的菜单选项是什么类型的项目。

I guess Visual Studio is not recognizing this project as an MVC type project. VS looks into the Project File to see what type of project it is then it will offere project specific menu options.

检查您的项目文件,看看是否有MVC所需的值ProjectTypeGuids节点

Check Your Project file and see whether there is the required value for MVC in ProjectTypeGuids node

第1步):转到您的解决方案资源管理器,右击卸载现有的ASP.NET项目并选择卸载项目

Step 1) : Go to your solution explorer and unload the existing ASP.NET project by right clicking and selecting "Unload Project"

第2步)右键单击该项目在Solution Explorer中,选择编辑您的项目文件名

Step 2) Right Click the Project in solution explorer and select "Edit your project file name"

第3步)转到元素称为ProjectTypeGuids,并添加 {E53F8FEA-EAE0-44A6-8774-FFD645390401}; 盈的现有的内容。

Step 3) Go to the Element called "ProjectTypeGuids" and Add {E53F8FEA-EAE0-44A6-8774-FFD645390401}; infront of the existing content.

保存文件并重新加载项目,现在你将有MVC特定项目。

Save the file and Reload the Project and now you will have the MVC specific Items.

<一个href=\"http://www.techiesweb.net/how-to-get-add-view-add-controller-menus-in-solution-explorer-when-converting-existing-asp-net-web-for-project-to-mvc/\">Here在这里我已经证明一步一步如何编辑项目文件,包括在一个ASP.NET网站的MVC选项,当你做转换的样本。

Here is a sample where i have demonstrated step by step how to edit the project file to include the MVC options in an ASP.NET website when you do the conversion.

这篇关于&quot;新增面积&QUOT;没有出现在Visual Studio 2010的最终的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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