动态添加引用抛出自定义向导C ++(common.js) [英] Adding references dynamically throw Custom Wizard C++(common.js)

查看:85
本文介绍了动态添加引用抛出自定义向导C ++(common.js)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





这是我的情况。

我在Visual Studio 2010中创建了一个自定义向导C ++项目。

它将用作自定义项目系统。



信息

Visual C ++自定义向导是一种特定类型的向导,旨在帮助您创建自己的向导。一旦配置,您的向导将生成项目所需的启动文件。)





问题



如何在代码中动态地添加引用(到第三方dll)生成我的项目的启动文件。向导背后的逻辑是用几个javascript文件编写的。主要的是common.js。

解决方案

你没有说你正在使用哪个版本的Visual Studio,但我发现VS Express,你可以添加这样的项目属性在 default.js 文件中。看一下我的文章 Visual C ++ Express,自定义向导 [ ^ ],了解更多详情。

Hi,

Here is my situation.
I have created a Custom Wizard C++ project in Visual studio 2010.
It will be used as a custom project system.

Info(
The Visual C++ Custom Wizard is a specific type of wizard, designed to help you create your own wizards. Once configured, your wizard generates the starter files you need for your projects.)


The Question

How can I Add references(to third party dll) dynamically from code whenever the starter files for my project are generated. The logic behind the wizard is written in several javascript files. The Main one is common.js.

解决方案

You do not say which version of Visual Studio you are using, but I discovered with VS Express, that you can add such items to the project properties in the default.js file. Take a look at my article Visual C++ Express, Custom Wizard[^], for further details.


这篇关于动态添加引用抛出自定义向导C ++(common.js)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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