Reputation: 1118
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?
Upvotes: 5
Views: 8608
Reputation: 647
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'
Upvotes: 4
Reputation: 151
Open excluded changes, do not promote but right-click -> select all -> delete from disk
Upvotes: 4
Reputation: 11
Just right-click the pending change in Team Explorer, select "open in Source Control Explorer", find the item, then right-click to delete.
Upvotes: 1
Reputation: 3175
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
Upvotes: 8