Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

How to copy queries from 1 Query folder to another query folder in TFS 2013 using C # programmatically ?

$
0
0

Hi ,

         I'm trying to copy a bunch of queries from 1 folder in "Shared queries" to another folder within "Shared Queries" using C#.

         I'm looking to do something like this

         foreach(query q in folderx )

         {

                        foldery.query = folderx.query;

          }

          I have been trying to use the queryfolder and its properties but not able to find the correct class/property/function to use. I have seen this link http://bzbetty.blogspot.in/2012/12/tfs-automation-automatically-creating.html but here they are creating new queries in the new folder rather than copying it .


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>