I'm using the TFS API for copying buildefinitins. However I am not able to copy build process template paramaters with values. I can't see the values in an IBuildDefinition object. Where can i fetch the values and clone them as well?
My starting point is How can I copy a TFS 2010 Build Definition? .
The line
buildDefinitionClone.ProcessParameters = buildDefinition.ProcessParameters;
copies the process parameters, but not all the other custom values that I set in the build definition