Search code examples
visual-studio-2010msbuildbatch-fileexternal-tools

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


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


Solution

  • $(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.