I would like to establish a list of all the visual studio macro that can be used in the post-build event script.
Just click the Macros >> button in the post build events dialog. I includes the list and a preview of what the result will be. Here is a list any way:
$(OutDir)
$(ConfigurationName)
$(ProjectName)
$(TargetName)
$(TargetPath)
$(ProjectFileName)
$(TargetExt)
$(TargetFileName)
$(DevEnvDir)
$(TargetDir)
$(ProjectDir)
$(SolutionFileName)
$(SolutionPath)
$(SolutionDir)
The official Microsoft documentation for VS2017 is here and for VS 2019 is here.
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