Home Dashboard Directory Help

Excluding folders from projects cause the folder to be deleted in TFS. by Jonathan Allen


 as Postponed Help for as Postponed

Sign in
to vote
Type: Bug
ID: 499383
Opened: 10/22/2009 2:14:25 AM
Access Restriction: Public
User(s) can reproduce this bug


When I exclude a folder from a project, it deletes it from TFS.
Sign in to post a comment.
Posted by rjcox on 3/11/2010 at 3:21 AM
The ability to remove a component of a project without deleting from source control is key to moving a file in source control to another project.

Dragging an item in solution explorer from one project to another copies it (useful), but sometimes one wants to move it, while retaining SCM history. To do this one would expect to remove from the source project, move in source control (retaining history) and then add existing item to the destination project.
Posted by Microsoft on 12/18/2009 at 5:11 PM
Thank you for your suggestion, Garuenwolf. We have run out of time to address this issue in the current release but it has been noted as an area of definite improvement for future releases.

-Sean Laberee
VS Platform Team
Posted by Microsoft on 10/26/2009 at 2:23 AM
Thanks for your feedback. We are routing this bug to the product unit who works on that specific feature area. The team will review this issue and make a decision on whether they will fix it or not for the next release.

Thank you,
Visual Studio Product Team
Posted by Microsoft on 10/22/2009 at 3:27 AM
Thank you for your feedback, We are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)

If at any time your issue is closed unsatisfactorily, you may edit your issue via Connect and change the status to “Active.”

Thank you,
Visual Studio Product Team
Sign in to post a workaround.
Posted by dios1101 on 3/26/2010 at 11:49 AM
It's possible the move files from Source Control Explorer with a workaround.

Exclude files or folders from your project. Close your solution. Undo deleted files and/or folders (who was deleted after the exclusion). Move files or folders from Source Control Explorer. Reopen your solution. Include files or folders in destination project. If you get an error telling that your files or folders already exists, do a "Get Specific Version", check "Overwite all files even ..." and "Overwrite writeable files ..." to be sure.