Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 229409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:45:48+00:00 2026-05-11T19:45:48+00:00

In Team Foundation, you can ask Team Explorer to show deleted files by doing

  • 0

In Team Foundation, you can ask Team Explorer to show deleted files by doing this:

Tools > Options > Source Control >
Visual Team Foundation Server > Show
deleted items in the Source Control
Explorer.

My question is how do you do the same thing programmatically?

I am developing a synchronisation tool, and I need to detected deleted files in TFS. Workspace.Get(…) returns only non-deleted files.

Any idea how I can achieve that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T19:45:48+00:00Added an answer on May 11, 2026 at 7:45 pm

    Go to the Visual Studio folder in your start menu and start up a Visual Studio Command Prompt from the “Visual Studio Tools” subfolder.

    The command you want to run is:

    tf dir /server:myserver $/myproject /recursive /deleted
    

    (where myserver and myproject are your server and project)

    use “tf help” for general info, “tfs help dir” for more help on this command, or google on “tf.exe” for more info.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're using team foundation server for our source control. I frequently put files into
Tools used: Visual Studio 2008 Team Foundation Server or Visual Source Safe Backstory: We
I'm currently using Team Foundation Server 2008 as a source control and build engine.
Can I use Visual Studio Professional with Team Foundation Server 2008?
We are using Team Foundation Server 2010 for source control only. We don't really
So we decided to go with visual studio team foundation server for version control,
I am using Team Foundation as source control for a solution with eight C#
In Team Foundation Server 2010, I have created a source control branch for a
Can I setup Team Foundation Server in such a manner that every uer have
I have set up Team Foundation Server - Team Web Access SP1. I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.