build - Is it possible to modify the output of a macro in VS 2005? -


I am using the feature in Visual Studio 2005, which allows the use of macros such as $ (ConfigurationName) in the XML .rules file.

I would like to pass a subset of $ (ConfigurationName) as a parameter for my command-line tool:

If my goal is to Debugbild , then I want to end the command like tool.exe -Debug .

Is there a way to do this? I thought about making one, but I do not know whether they can be more than plain text. This is how it works in my custom property pages:

Either

  Device parameter: $ (MyMacroWhichExtractsPartOfTheConfigurationName)   

Sorry if this is not very clear , Then I can give more information

if necessary :)

Thanks!

Guillum

Normally I make a script (like Minis Bash Or Windows Butt) that you run, and that's what makes you VS Instead of trying to do within, translates arguments.


Comments