Tevya
Tevya

Reputation: 864

Copying Visual Studio Team System 2010 queries

I am using VS Team System 2010. I have several TFS queries. Like with most queries, if I have one that works, I often want to create variants of that query. However, I can find no ability to copy a query. I either need to overwrite an existing query or start from scratch. Also, if I have a query and alter it, there is no "Save As" option so that I can save the altered query under a different name (usually to preserve a widely used query).

So, is there a way to do this? Is there a means via the Team System Power Tools perhaps?

Upvotes: 0

Views: 85

Answers (2)

John Saunders
John Saunders

Reputation: 161783

"File->Save As" works for queries.

Upvotes: 1

Edward Thomson
Edward Thomson

Reputation: 78703

You can duplicate an existing query by copying and pasting (right-click on the existing query, select "Copy" and then right-click on your query folder and select "Paste".) It will prompt you to use a new name if you're pasting to the same folder as the existing query.

Upvotes: 1

Related Questions