In TFS 2010 is it possible to copy queries from one project to a project in a different collection?
To reproduce:
Right click on a folder of queries in Team Explorer and select COPY. Right click o开发者_JAVA技巧n servername and select Connect to Team Project. Connect to project in different collection In query section of the 2nd project right click on query folder.Paste option is dimmed out.
However if I reconnect to the original project in the 1st collection paste is not dimmed.
Is there any way to copy Queries between collections, preferably in blocks?
VS 2013, I right clicked on My Queries (selected all of them), copied them, then went to another instance of VS opened to a different project, right clicked on My Queries and pasted them into that project.
Then modified anything specific to the original project.
I don't think it can done in a graphical way.
But if you have the WIQL-equivalent of the query, it's transportable/executable - possibly with minor adaptations.
So if you have a custom tool that executes the query, it could be used between different TFS Collections.
精彩评论