This project has moved and is read-only. For the latest updates, please go here.

Build arguments are not returned for a build definition via the TFS API if they are left as default values


I have just found a bug (feature?) in the way the DSL does this; turns out if you did not set the major and minor version argument values in the build editor (you just left them to their default values of 1 and 0) then the DSL fails as defaulted argument are not returned in the property set of the build definition we process in the DSL. You would expect to get a 0 back, but you in fact get a null.

See for a discussion of the issue and the workaround