I was getting "exited with code 255" exception after adding post build script for build event.
What I found is there is no space between 'Test' and '(' in my build event script!
) if $(ConfigurationName) == Test(
Should be -
) if $(ConfigurationName) == Test (