在VS2008中创建一个上下文菜单项,用于向解决方案添加类 [英] Create a context menu Item in VS2008 that adds classes to the solution

查看:52
本文介绍了在VS2008中创建一个上下文菜单项,用于向解决方案添加类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是Guidance Automation Extension的新手。我想在VS2008菜单中添加一个菜单项,这将允许开发人员自动为视图插入视图,视图Model,Interface .cs文件,viewmodle的界面.cs文件。

应该连线实现,即View实现其IView接口,viewModel实现其IViewModel接口,ViewModel包含视图实例等。

这些是我试图自动化的样板操作。

请帮助逐步说明如何解决这个问题。

我想部署它,以便开发人员可以单击脚本或exe文件,然后设置他们的开发环境,他们可以访问新功能。

我安装了GAX / GAT套餐。我是否需要为此创建一个指导包,如果是这样,我该如何解决这个问题并仅发布上面描述的功能,或者是否有办法创建VS2008刚读取并提供功能的配方或模板。
>就像我说的那样,我绝对是GAX / GAT的新手


信仰像芥菜种一样小,可以移山 - 耶稣基督

Hi,

I am new to the Guidance Automation Extension.  I want to add a menu item to the VS2008 menu which will allow developers automatically insert a view, a view Model, Interface .cs file for the view, interface .cs file for the viewmodle.

Should wire-up the implementations i.e, View implements its IView interface, viewModel implements its IViewModel interface, ViewModel contains an instance of the view etc.

These are boilerplate actions which I am trying to automate.

Please help with a a step - by - step instruction on how to go about this.  

I'd like to deploy it so developers can click a script or exe file and it sets up their dev environment and they can access the new functionality.

I have installed the GAX/GAT packages.  Do I need to create a Guidance package for this, if so how do I go about this and publishing only the feature descibed above, or is there a way to create a recipe or template that VS2008 just reads and provides the functionality.

Like I said, I am absolutely new to GAX/GAT


Faith as small as a mustard seed, can move mountains - Jesus Christ

推荐答案

Hi Chinedu,
Hi Chinedu,


这篇关于在VS2008中创建一个上下文菜单项,用于向解决方案添加类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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