Optionally execute a post-build executable

To execute a post-build command Visual C++ offers settings for both debug and release mode. Visual C# does not. To execute a post-build command based on debug or release mode use the following construct:

if $(ConfigurationName) == Release d:\test.exe $(TargetPath)
Lastest update in September 2017, inital post in April 2012

Write a comment

I appreciate comments, suggestions, compliments etc. Unfortunately I have no time to reply to them. Useful input will be used for sure!