PDA

View Full Version : Using Re-evaluate all build rules on a per project basis


Too_Tall_Crown_Victoria
10-12-2007, 09:53 AM
I have a need to use the re-evaluate all build rules for a single build script but not for all of them. However this setting seems to be global for all build scripts. Is there a way to turn it on/off depending on the script that is running?

Thanks

kinook
10-12-2007, 09:58 AM
Turn it on at the beginning of the project and off at the end using the object model (Run Script step with code of Application.Options.ReevaluateAllBuildRules = True and Application.Options.ReevaluateAllBuildRules = False).
http://www.visualbuild.com/Manual/reevaluateallbuildruleproperty.htm

Too_Tall_Crown_Victoria
10-12-2007, 10:05 AM
Thank you very much for the very fast response. That is exactly what I was looking for.

Tom