Unfortunately, C # projects do not support anything like what I found. I had to resort to writing makefiles in certain situations to get around this. You can also write a batch file or a simple program that takes a parameter, and then call it like this from the build event:
custom.exe $(ConfigurationName)
source share