I want to add Post-build events to the command line in a Visual Studio 2012 C # project.
I have a number of projects in my solution, and I would like to add to the list of macros available using "Macros โ".
How can i achieve this?
For example, I have a command line:
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f MYPFXFILEPATH /p MYPASSWORD /t http://timestamp.verisign.com/scripts/timstamp.dll $(TargetDir)$(TargetFileName)
I would not want to copy and paste them into each project. I would like to put the first part in a macro so that I have:
$(SignCommandLinePrefix) $(TargetDir)$(TargetFileName)
source share