vspackage:在解决方案节点上下文中删除添加新项 [英] vspackage : remove the add new item in the solution node context

查看:100
本文介绍了vspackage:在解决方案节点上下文中删除添加新项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我已经创建了自定义项目类型.在我的自定义项目中,我具有自定义项目的主题.如果我
单击了项目节点,则可以通过添加新项目"添加我的自定义项目.

Hi,

   
    I have created custom project type. In my custom project I have custom project itmes. if i right
clicked the project node then i can add the my custom project items through "Add new item".

如果我右键单击解决方案节点上下文,然后单击添加新项",则菜单项,然后我会得到
默认的Visual Studio项目项,例如HTLM页面,XML文件,文本文件等.

if i right click the solution node context and click "add new item" menu item then i am getting
default visual studio project items like HTLM Page,XML File,Text File etc.

所以我想在解决方案节点的上下文中禁用添加新项.我正在使用MPF.
有人可以帮忙吗?

我使用Visual Studio 2008 SP1和C#语言.

感谢
Ramesh

so i want to disable the add new item in the context of solution node. i am using MPF.
can any one please help on this?

i am usign Visual Studio 2008 SP1 and C# language.

Thanks
Ramesh

推荐答案

选择项目和解决方案项时,添加项命令相同.
The add item command is the same when select project and solution item.


这篇关于vspackage:在解决方案节点上下文中删除添加新项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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