Add variable to Action field on Build VS.Net Solution

Hi
 
Is it possible to add a variable to the Solution >  Action combo box on the "Build VS.Net Solution" action ?
Currently it allow choosing from a strict list and if I want to change the actions in several solution I need to open each solution and update the action and it taked to much time in case of large solutions.
 
Thanks,

Hi Elad,

You can set the ‘Build Action’ using a variable in the ‘BeforeAction’ script event, assuming the variable is called ‘ActionVariable’ the script will be:

Action.BuildAction = ActionVariable

The possible values for the field are:

0 = Build
1 = Rebuild
2 = Clean
3 = Deploy

Regards,
Paul.