Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am creating a BuildDefinition from code and Loading the Build Process template.

Now,I want to read and Validate the Build Process template parameter values.When I am debuggig,I could see that these are in Xaml format.

Ex: I have some value "BuildType" as "Daily" in xaml file.I want to read these values and validate them

I dont know what is the bestway to read the values.Can any one please let me know how can we do it.

Thanks,
Srikrishna
Posted
Comments
Shani Natav 23-Aug-10 11:23am    
XAML or XML? and can you post the file or part of it here?

1 solution

When you get right down to it, XAML is nothing more than XML.

XElement root = XElement.Parse(myXamlString);

At this point, you can inspect each child node.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900