Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSBUILD macro documentation? [closed]

I'm using MSBUILD macros in my .csproj files for AfterBuild events mainly just to copy files. I'm doing this by example, so the only ones I know of are the ones I've seen in use: SolutionDir, ProjectDir, OutputPath, and Configuration. Is there a list or good info page online anywhere so I can read up on what's available, what point in the build they're available, customization, etc? I know that when using post build events in the project properties Build Events tab, the macros and their corresponding values are listed in a dialog...does any such gui exist for MSBUILD? Currently I'm just manually editing the .csproj files.

like image 378
Rich Avatar asked Nov 06 '09 21:11

Rich


2 Answers

These are called Properties, not macros. See:

Reserved Properties

Common project properties

like image 143
radical Avatar answered Oct 10 '22 02:10

radical


Here is what you were looking for.

MSDN - Macros for Build Commands and Properties

like image 29
Ethan Avatar answered Oct 10 '22 03:10

Ethan