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.
These are called Properties, not macros. See:
Reserved Properties
Common project properties
Here is what you were looking for.
MSDN - Macros for Build Commands and Properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With