We have two different build configurations: Debug and Production.
Part of the build includes a cert used to access a third party site. In debug, we use a staging cert and in production we use the live production cert.
How can I ensure when the solution is built in the debug configuration that the staging cert is included and when its built in production, the production cert is included?
EDIT
Here's my solution from Scotty's suggestion (this was put into the Post-Build event command-line section):
IF $(ConfigurationName) == Release copy $(ProjectDir)resources\prod.p12 $(TargetDir)resources IF $(ConfigurationName) == Debug copy $(ProjectDir)resources\staging.p12 $(TargetDir)resources