Есть ли способ перечислить все определенные переменные в исполняемом проекте MSBuild?
Я пытаюсь выяснить, какие пути и переменные заданы (перейти в WiX), и сложно отлаживать все. По сути, я бы хотел, чтобы что-то было равнозначно запуску set
в командной строке. Пример:
C:\Users\dsokol>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\dsokol\AppData\Roaming
asl.log=Destination=file
CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
...
За исключением того, что я хотел бы, чтобы он перечислял все переменные MSBuild (такие как Target, OutDir?) и все дерьмо, которые я определил в верхней части файла XML. В идеале:
$(OutDir)="C:\MyOutDir\bin"
$(ProductVersion)="6.1.0"
$(Platform)="Win32"
Существует ли такая вещь?