I want to add in a Post-build event commandline in my 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 with "Macros>>".
How can I achieve this?
For instance I have the 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 hate to copy and paste that into every project. I would like to place the first part into a macro so that I would have:
$(SignCommandLinePrefix) $(TargetDir)$(TargetFileName)