Tag Archives: Visual Studio

Sometimes I use python or ruby script as Pre/Post-Build step configured in settings of a project in IDE. There my be situation when such extra steps are not needed. We can provide one more configuration without those Pre/Post-Build steps but it’s much faster just to comment the commands in some way, so, to enable them later.

In MS Visual Studio I added rem as old-school .bat files comment

  • rem command arg1 arg2

and true in case of Flash Develop IDE

  • true command arg1 arg2

It looks like VS just ignore or skip the commands like first one. Unfortunately, such trick doesn’t work in case of FalshDevelop. So, I use more universal method. The commend in second example would be called by IDE. It does nothing and return correct exit code, so IDE continues regular build scenario.