Reputation: 65481
We have just added a new project to TFS.
The developer was using resharper. The resharper files were added to TFS automatically.
How can we remove these files from TFS? Or is it not a problem that they are there?
Upvotes: 1
Views: 476
Reputation: 5310
You can use Team Foundation Server's Destroy Command. This command is available only on the command line because it should rarely be used. Normally, you'd just want to delete it from the project and still have history just in case, but in your situation, a permanent delete seems ok. I would suggest you make a backup of the repository before you run this, just to be safe.
tf destroy [/keephistory] <itemspec1>[;<versionspec>][<itemspec2>...<itemspecN>]
[/stopat:<versionspec>] [/preview] [/startcleanup] [/noprompt] [/silent] [/login:username,[password]] [/collection:TeamProjectCollectionUrl]]
Upvotes: 2