Visual Studio项目选择器如何工作? [英] How does Visual Studio project selector work?

查看:123
本文介绍了Visual Studio项目选择器如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在与Visual Studio项目选择类似的行上实现项目模板。



即,用户可以选择何种类型的他想要使用的项目,无论是64位还是32位,有或没有MFC支持...



虽然我可以创建单个项目模板,但我想我可以还创建了一个向导,允许用户选择他的项目的配置,如何让Visual Studio选择特定的项目模板并加载它?



基本上, Visual Studio中的项目选择器如何工作,如何复制?



请指教。

解决方案

请参阅 Visual C ++ Express,自定义向导 [ ^ ]。

Visual Studio有一种从现有项目/文件创建模板的快捷方式......

这样做:

1.创建和配置你的项目包含你想要从那里开始的所有文件和参考...

2.打开文件/导出模板

3.按照向导

4.将创建的安装程序发送给所有需要该项目模板的人......


I'm required to implement project templates on similar lines as that of Visual Studio project selection.

i.e., an opportunity for a user to select what type of project he wants to work with, whether 64 or 32 bit, with or without MFC support...

While I can create single project templates, and I suppose I can also create a wizard which will allow a user to select the configuration of his project, how do i make Visual Studio choose that particular project template and load it?

Essentially, how does the project selector in Visual Studio work, and how can I replicate that?

Kindly advise.

解决方案

See Visual C++ Express, Custom Wizard[^].


Visual Studio has a shortcut way to create template from existing project/file...
So do these:
1. Create and configure your project with all the files and references you want to be there from the beginning...
2. Open File/Export Template
3. Follow the wizard
4. Send out the created installer to all who need that project template...


这篇关于Visual Studio项目选择器如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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