c# - TFS build custom parameter always null -


i created custom process parameter , use dialog enter values in guid of queue new build work fine when run build value of parameter null or if define default value default.

i read because

process parameters aren’t restricted simple types (such boolean, string, , integer); can complex types (such enumerations, arrays, , custom classes) can further comprised of simple types , other complex types. process parameters stored against build definition or build serializing them xaml, requirement complex type supports

how can "serializing them xaml"???

my parameter this:

public class imversion  {     public imversion()     {         version = new version(svbuildactivity.findlatest(svbuildactivity.im_releases_path));     }     public imversion(version v)     {         version = v;     }     version version { get; set; }      public override string tostring()     {         return version.tostring();     }       } 


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -