在向导扩展中有条件地创建项目项 [英] Conditionnaly create Project Item in a Wizard Extension

查看:117
本文介绍了在向导扩展中有条件地创建项目项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为模板项目做了一个向导扩展.

I have made a Wizard Extension for a Template Project.

我的模板项目包含3个项目;服务类,控件类和架构类.

My Template Project contains 3 Items; Service Class, Control Class, and Schema Class.

在向导中,用户可以选择他想要在项目中使用的项目类型.这可能是3个项目之一.

In the Wizard, the user is able to choose what sort of items he would like in the project. This could be one of the 3 items.

但是,我不知道如何根据某些值阻止创建所有项目.

However, I don't know how to prevent creating all items, depending on some value.

每次创建3个项目.

是否有任何自定义创建不同项目的想法?

Any idea to customize the creation of different items ?

要寻求帮助

推荐答案

请在此处放置一些代码,以便更好地理解.

Please put some of your code here, in order to understand better.

谢谢


这篇关于在向导扩展中有条件地创建项目项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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