Overall, this is a valuable extension, with one glaring exception: I run Visual Studio 2010 Ultimate, and the few times that I have attempted to "Merge From Sources" on a feature branch, VS hangs indefinitely and I have to force the close and start over. This could be a valuable feature, however the fact that it causes VS to hang, for I-don't-know-how-long, in the few attempts that I have tried (attempt-hang; uninstall-reinstall-attempt-hang), it is a quite frustrating. This NEEDS to be fixed. Other than that, it's a great extension! :]
Adds a number of nice features to the Source Explorer. Many of these are things where you need to know what you're doing though. Dev releases updates regularly and listens to comments from the community.
I like the features this provides, but as another user said, it hangs when branching. It hangs for most large syncs -- so if you sync a new branch or create a new branch or just update a branch that is very out of date, this extension will cause Visual Studio to hang for hours (mine was typically 3-5 hours).
Please try it again on latest release (1.0.4432.34208) with "Get Check In file date from comments in Source Safe converted projects" option off. if it does not help try turn off entire "Change files date on Get" feature.
My extension is developed and tested for VS2010 SP1. So there wouldn't be a problem specific to SP1. Try reinstall the extension, and if your current problem persist, please give me more information about errors and behaviour you are receiving.
Great extension! Nice job supporting developers migrating from SourceSafe to TFS, apparently something Microsoft does not consider important.
The July update item "Fixed File icon change function" broke one reason for my download of your extension and I am hoping to get an enhancement.
TFS does NOT display nested folder branches with the branch icon, but prior to the July update your extension would show the files in the nested folder branch with a branched file icon. This is very helpful and was very similar to how shared files were displayed in SourceSafe. Any change to visually identify nested folder branches and their files would be greatly appreciated!
Please try it again now on latest release (1.0.4432.34208) with "Get Check In file date from comments in Source Safe converted projects" option off. if it does not help try turn off entire "Change files date on Get" feature.
1. Can it be licensed? Officially we are not supposed to use any software where the licence does not explicitly allow use in a commercial environment.
2. Can the destroy and show deleted options be split into two? It is useful to be able to show and hide the deleted items quickly, however I would like the Destroy option to be hidden as that is much more dangerous.
Also for clarification, does the "Merge from sources" only show files that have changes?
Updated Icons - I like the concept, but allow me to turn this feature off. It is way too slow. When I drill into folders that each have 5 or more items, each folder updates the icons for all items before it allows me to go further, which slows me down considerably especially when there are 20+ items.
What a time saver the "destroy" menu-item is. Here is an enhancement idea:
Cleanup - you right click on any folder/branch, it recursively finds all deleted items, and destroys them.
One comment: sometime, after destroying large number of items, the extensions does not refresh the parent branch on the left, nor on the right.
If I can, you can too.
I will send you the source of my quick and dirty addin that does exactly what I want. Well the addin got finished after I posted this feature request, and after hours of try and error.
However it is working with your extension side by side, but it would be no harm to add this functionality into your extension
Sorry I misunderstood your request before.
I added this feature now to the latest version (1.0.4550.18638).
I added new toggle button next to Workspace selection ComboBox to turn on or off folder filtering. So if you need to add a new folder mapping to workspace, you can temporarily disable the filter for this action.
It turns out, that Your code to take Explorer window TreeView is simmilar to my code in TFSSCExplorerExtension, I guess you take it from there :).
However I changed filtering a little:
Explorer.Workspace.Folders collection is needed to filter to folder.Type == WorkingFolderType.Map because Cloaked folders are there too.
I add "/" character to folder compare logic, because if two folders have same prefix in name, also not mapped folder appears.
Yes, I did indeed take parts of your code, since your extension is nearly the only source of how to write an extention for the SCE. Well I gues that had made it easier to include this feature.
Well thank's for adding this feature and improve my prove of concept implementation.
The Team Foundation Server power tools add a Rollback changeset feature to the history window. I'd love a Rollback folder or rollback file(s) or rollback selection which would then show a pop-up allowing you to pick a version to roll back to.
After a rollback you sometimes need to force a merge between files in order to merge changes from an other branch. I'd love to have the force feature as part of the Merge window. Right now I'm using tf merge /force on the commandline to do this.
We go to the Source branch and select "Merge from Source"
It does show us all the files that are branched.
If I choose a file or two and select OK I'm not seeing any pending checkins for the branched files.
Am I not doing something correctly?
Hi, I've just installed the latest update of the extension (1.0.4368.19302) and now every time I start VS2010 an error pops up. It does not have an error code.
The popup states:
Object reference not set to an instance of an object.
I'm using Win7 x64, VS2010 and TFS2010.
What can be the problem here?
Same here on same configuration as wvdpost/Jesse have been posting: Win7 x64, VS2010(SP1), TFS2010(SP1) and two TFS-Servers (one within local net, one residing in extranet range).
Beside that startup error, it seems to work ... - THX for great work
Tried to send the error from the new version, but trying to send results in another error (comes up twice) on my machine <chunked encoding upload is not supported in HTTP/1.0 protocol>.
So here's at least the copy of error text:
System.NullReferenceException: Object reference not set to an instance of an object.
at IMP.TFSSCExplorerExtension.Components.MergeFromSources.QueryStatus(OleMenuCommand command)
at IMP.VSExtension.ExtensionCommand.MenuBeforeQueryStatusCallback(Object sender, EventArgs e)
i've a question: i need a button to undo unchanged files in TFS.
it's possible to integrate that in your extension?
the way over external tools is not the best way because the button is in the context menu.
I would like to have a button in the toolbar of source control or pending changes view.
Sorry, I didn't have much time for this lately. Yes, it's a good idea. I implemented Undo changes to unchanged files feature similar to TFS Power Tools command "TFPT.EXE uu". Function is accessible from Pending Changes window toolbar.
Where is "Undo changes to unchanged files" in Pending Changes window toolbar at VS 11?
I can find one at Source Control Explorer, but you know that is not the best place to use this command.
And another serious problem...
The changes in unsaved documents, will be treat as unchanged files...All my changes just disappear.
Yes, in VS11 is pending changes window part of Team Explorer and not tool window so I for now put "Undo changes to unchanged files" to Source Control Explorer toolbar.
I do not plan to change this yet, because VS is in Preview version only. I will change this later (perhaps for the VS11 Beta?).
Thank you for reporting the problem with unsaved documents, I will look at it soon (hopefully).
Now I can see the "One or more files in the workspace are unsaved! Save or discard your changes before running Undo changes to unchanged files." message. Although this is "Undo unchanged", so that unsaved and checked-out files should be treat as "changed", I have 3 the better ways to deal with it:
1. Compare the unsaved file current content to server item, if no difference found, then undo it.
2. Just don't touch them, keep undo other saved and unchanged files.
3. Ask for every unsaved files for "Keep changes" or "Undo changes".
I prefer 1, then 2, last 3.