Visual Studio 2010自定义工具 [英] Visual Studio 2010 Custom Tool

查看:144
本文介绍了Visual Studio 2010自定义工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读到VCFileConfiguration set_tool属性已被弃用,并且可以通过将somefile.ItemType设置为工具来更改工具类型.

i have read that the VCFileConfiguration set_tool property is deprecated and that it is possible to change the tool type by setting somefile.ItemType to the tool.

我可以轻松地将其设置为自定义工具.但是我如何更改自定义工具的属性,例如命令行?它曾经通过创建VCCustomBuildTool的新实例并使用set_tool进行设置来工作.

I can easily set it to a custom tool. But how do i change the properties of the custom tool e.g. commandline? It used to work by creating a new instance of VCCustomBuildTool and setting it with set_tool.

非常感谢您对此事的帮助.

I would greatly appreciate any help regarding that matter.

 

 

推荐答案

我对新的VC项目系统不是很熟悉,但是我猜你是您可以将某些C ++项目移植到VS 2010中,也可以移植以某种方式与C ++项目进行交互的插件. 代码看起来像,也许想要的最终结果是什么?

I'm not real familiar with the new VC project system, but I'm guessing that you are either porting some C++ projects to VS 2010, or porting an addin that interacts with C++ projects in some manner. Can you give specific examples what your functioning code looked like, and perhaps what the desired end result is?

我确实找到了VC小组的一个有趣的博客文章,标题为"

I did find an interesting blog item by the VC team entitled "How to read/write the new Visual C++ project properties" which I found useful for setting properties like PlatformToolset, and may also apply to your particular issue as well. But without knowing more, that's just a wild guess :-).

谢谢

 


这篇关于Visual Studio 2010自定义工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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