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)

Leave a Reply

Your email address will not be published. Required fields are marked *