I added some files to my Solution and then deleted after some code tests. Now, the items are still in Excluded Changes of Team Explorer. How can I refresh Visual Studio Excluded Changes panel so that the removed items go away?
In Solution Explorer, the Pending Changes Window, or Source Control Explorer, select one or more items, open their context menu and choose Undo or Undo Pending Changes. To undo all changes you have made in your solution or a code project, open the context menu, and then choose Undo Pending Change.
To delete a solutionIn Solution Explorer, select the solution you want to delete. On the File menu, click Close Solution. In Microsoft Windows Explorer, locate and select the files associated with the solution you want to delete. On the File menu, click Delete.
"Undo pending changes" will undo all the changes that you made to the file and restores the file to the version of the file which you started editing/making changes. "Get Specific Version" (with both overrides) will get the latest version of the file from the TFS server.
Depending on your version of Visual Studio you will have a pending changes window (probably under the Team Explorer
tab). Just select the deleted file, open the context menu and select Undo...
For more information also have a look at https://msdn.microsoft.com/en-us/library/ms245456(v=vs.100).aspx
Select the file(s) from the 'Team Explorer' tab, Under the 'Excluded Changes' Open context menu on any of those files, and click on 'Open is Source Control Explorer', and there you could open the context menu again on those files and select 'Undo Pending Changes'
Open excluded changes, do not promote but right-click -> select all -> delete from disk
Just right-click the pending change in Team Explorer, select "open in Source Control Explorer", find the item, then right-click to delete.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With