title: Visual Studio Extension: Getting Macro Values
body: <p>I am creating a small extension that gets passed a string that can contain visual studio macros ($(ProjectDir), $(LocalDebuggerCommand), ... ), is there a way to use the macro in c# or c++ code?</p>
  
  <p><strong>Side Note</strong>:
  I have seen solutions which involve creating preprocessor entries. The problem I have with this solution is I can't manually add all the macros because I don't know which macros will be passed to the extension.</p>