I downloaded this plugin solely for the search functionality. A few issues that I've noticed:
1. When a file that matches the "filenames" filter has zero lines, the results pane below shows an error of "Object reference not set to an instance of an object." in the "Found in line" column.
2. The "Stop Search" button doesn't appear to do anything? If it does stop then the progress bar and list of files it continues to cycle through is very misleading; I have to close out of the FindInFiles dialog window and re-open it to start a new search.
3. Double clicking on one of the filenames results in a pop-up error dialog. Closing out of that and doing it again will crash the FindInFiles window AND the instance of TFS that you launched it from.
This was with VS Ultimate 2012 with Update 5, .Net 4.5.51209, on 64-bit Windows 7
I am trying to download the latest version using the VS 2012 'Extensions and Updates' tool and get an unexplained error. The only way I could figure out what the error is was by starting 'Fiddler' to monitor the download activity, which showed the following error: 'Content-Length mismatch: Response Header claimed 486728 bytes, but server sent 360960 bytes'. So I downloaded the *.vsix file (360960 bytes) from this website. But when trying to open/run the *.vsix file that I downloaded from this site, I get the following error: 'The file is not a valid VSIX package'
The report publishing errors that Michael Hotek receives are probably due to the fact that the TP hasn't been configured yet, I had the same problems. So, go to the web access, open the board and click on the link 'Configure feature'. Follow the steps of the wizard and after that, when the agile process is configured correctly, the reports can be deployed without errors.
What I do miss however, is a 'Select All' button on the dialogs...
The entire update reports feature does not work and does things that it really shouldn't. When it says update reports based on a process template, I expect it to do exactly that, and only that. I connected to a TFS 2012 instance and selected Update Reports and Portals. Select the Agile 6.2 process template as the source, check just the box for reports, and select 1 team project. Click Update. Not only does it fail to add any of the reports to the SSRS report portal, it fails with a pile of errors completely unrelated to pushing reports to a team project. For example: Creating a new project Overwriting work items Uploading the categories and classification files Uploading link types
Actually - what it does is to create a config file instructing the process to only update reports. And then lets Microsoft own stuff take care of the rest. I will check if they introduced any breaking changes, meanwhile could you please try to use the tfpt addprojectreports /collection:http://tfsserver:8080/tfs/projectcollectionname /teamproject:”TPname” /processtemplate:”MSF for Agile Software Development v5.0” to see if it gives you the same errors.
We use VS 2010 here and would have loved to use the folder specific search in file feature but it's not available in the 2010 version of the extension and trying to install this one in VS 2010 gives me "The extension manifest is invalid."
Is this version of the extension supposed to be compatible with VS 2010 too? If not, will you continue to support the 2010 version?
Hi Jerther, great to hear that you like the feature. No, the 2012 package Is not supposed to work with Vs2010, in this case, it’s an question of the vsix package and the other functionality. The code for the FindInFiles extension should work on Vs2010. My current goal is to continue to develop the 2012 version, and if needed, release accumulated updates to the VS2010 version. Unfortunately time is limited and I got a lot of community stuff going on, so I want make any promises on then you can have a 2010 update. The source for both the 2010 and the new 2012 extension is available at codeplex, if you want to build your own version.
It is a nice tool that makes up the key missing features from original TFS.
Had the same frequent crashing issue as described by Clint Yarborough. When it happened, it brought down VS 2012 as well.
I downloaded today from http://visualstudiogallery.msdn.microsoft.com/96a425aa-9ef0-4a92-b874-217d544a74bf/view/Reviews, assuming I had the latest version. But I don't know how to select subfolder for searching
Sorry for your inconvenience, the latest bits is always at the http://tfsadmintoolkit.codeplex.com/. I’ve now released an updated version (1.2) to VS Gallery with the Find In Files feature integrated into Source Control Explorer and hopefully that hopefully fixes your crashes.
Sorry, but there isnt much documentation around, If I get the time I hope to do a screen cast. In the meantime, I have added a Getting Started Section with a picture and added links to existing posts on the different features.
I saw that the find in files function is set like a sort of a modal window, so it keeps focus on itself while searching.
It would be great if one could keep on using Visual Studio while the search goes on, just because you give the amazing possibility to open a file from the results panel directly into Visual Studio.
What TFS permissions are required to use the Find in Files capability? Based on the title of this tool I would guess that TFS admin is required to use it. The Find in Files would be useful to non-admins.
The toolkit doesn't perform any specific permission checks. And you don't have to be a tfs admin to use most features. What you do need is permissions to perform the actions on the objects you select.
For the find in file feature, the requirement is that you have read access to the sourcecode your searching in.
Here's some ideas for improvements:
* Can the "Search in file history" be set defaulted to unchecked? If I forget to clear it, it takes most of a day to search our repository.
* Can the "Filenames" and "Search in file history" settings be saved and restored on next use of the toolkit? Use case is I like to filter on something like this almost every time I use the toolkit: *.cs; *.aspx; *.config; *.htm*
* Can "FileNames" be made to receive a path mask like this with asterisks?: "*\Website\Bookstore\ConfirmOrder.aspx.cs"? Use case is I'm trying to find where a change has been made in the same file name in the same relative location, but in different sub-directories.
* Can the toolkit window be set up to not keep focus so that while a search is running, one can continue to use Visual Studio? Use case is I can fix a tookit hit's source code while the toolkit continues to find other hits so I don't have to sit idle while the search runs.
Thanks for developing a very needed tool!
OK, so now I only checked the 2013 version, but ...
Filenames already accept a wildcard today, you must just use the "correct" / as TFVC uses / in path & filenames. Searching for */Website/Bookstore/*.cs should work.
Search In file history, Filenames abd searchtext - DOne, Now persisted and let you choose amongst the 10 latest values...
Progressbar reporting left justified - Done
Would it be a problem for you if Id only fix this in the vs2013 extension ?
Our IT department is primarily on VS 2012 for our code base and I don't have 2013 installed yet.
I hope you can migrate the fixes over to your 2012 version of the tool.
Thanks for the search path suggestion.
Hi. Thanks for the great tool. We have a few teams that branch for every release going to QA. This branch becomes production after a few fixes. The tool reports about 200 MB for the source and each branch. The tool reports about 4 GB for the branches. Is this the "workspace" size? Any way the tool can be updated to include actual database space used? With TFS 2005 I used SQL Query to get compressed and uncompressed file sizes from the TFS 2005 database. This seems to be a lot more difficult to do now with TFS 2012.
Hi Randy, sorry for the late reply
I took a quick peek at the code and the available API, and it doesn’t look like I can do a better job without reading directly from the TFS_Collection database.
Then it comes to "Actual database space used" it’s very/hard complicated (I want use the word impossible) to get a specific branch/folder or tp size, as the physical DB size depends on so many things above the tfs level.
All you can get is approximations.
The old SQL Scripts for tfs2005 will not work as Microsoft changed the database structure, but they should be able to upgrade to the new TFS 2013 structure. If you look deep into the TFS Best Practice Analyzer, it shouts SQL queries against TF VC :)
I think its a very cool tool.
I'd like to download and study the code, specifically the utility to search TFS code. However the Team Foundation Server Administration Tool source on codeplex, doesn't seem to have this.
Any idea where i can get this. Your help would be greatly appreciated.