简体   繁体   English

Visual Studio可扩展性

[英]Visual Studio extensibility

Based on our project we created several item and project templates which after installation using our installer works perfectly. 根据我们的项目,我们创建了多个项目和项目模板,这些模板在使用我们的安装程序进行安装后可以完美运行。 this was really good step as it avoids spending time on setting up new projects or modules inside our enterprise application. 这是非常好的一步,因为它避免了花时间在企业应用程序内部设置新项目或模块。 Now we want to move forward and create something similar to the context menu inside visual studio when u click Views or Controls folder inside ASP.NET MVC application and in other types of projects as well (for example when u click your right mouse button on your WPF application, under Add menu u get different items which avoids opening new window where u have to search for item time. 现在,当您单击ASP.NET MVC应用程序以及其他类型的项目中的“视图”或“控件”文件夹时(例如,当您单击鼠标左键或鼠标左键时),我们想继续前进并在Visual Studio中创建类似于上下文菜单的内容。在WPF应用程序的“添加”菜单下,您将获得不同的项目,从而避免在必须搜索项目时间的情况下打开新窗口。

My goal is to create add in or whatever it is called to make it even easier to work with our SDK so for example when developer right-clicks on project we want to have our own menu items under New menu so developers will be able to add OURPROGRAM View, OURPROGRAM view with validation. 我的目标是创建add in或所谓的添加项,以使其更易于使用我们的SDK,例如,当开发人员右键单击项目时,我们希望在New菜单下拥有自己的菜单项,以便开发人员能够添加OURPROGRAM视图,带有验证的OURPROGRAM视图。 can anyone assist me with this? 有人可以协助我吗? or how provide good examples of this? 或如何提供良好的例子?

Look for the Visual Studio SDK documentation on MSDN. 在MSDN上查找Visual Studio SDK文档。

There is an open source Iron Python project which is your best resource. 有一个开源的Iron Python项目,这是您最好的资源。 http://msdn.microsoft.com/en-us/library/bb165436(v=vs.80).aspx http://msdn.microsoft.com/zh-cn/library/bb165436(v=vs.80).aspx

Also on MSDN there is a walkthru for creating a basic project system. 同样在MSDN上,还存在创建基本项目系统的过程。 http://msdn.microsoft.com/en-us/library/cc512973.aspx http://msdn.microsoft.com/en-us/library/cc512973.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM