Passing $(Configuration) as parameter to External Tool in VS2010

2k views Asked by At

I am trying to pass the $(Configuration) macro as a parameter to an external tool (batch file), however, it apears to be empty. I tried by calling a simple test.bat that echo's the %1 parameter and pass the $(Configuration) macro as a param. Nothing is displayed however. Any ideas anyone

1

There are 1 answers

4
Oded On BEST ANSWER

$(Configuration) is not listed as one of the defined IDE arguments that can be used when defining an external tool.

See this list for the defined ones - since $(Configuration) is not listed, it is not something that can be used as an argument for an external tool.