TFS 2010 - Deleting a folder in Visual Studio solution before check-in of changes

前端 未结 2 618
心在旅途
心在旅途 2021-02-19 00:46

We are using TFS 2010 and facing a problem with deleting a folder inside of a solution in Visual Studio.

In the latest version of checked-in code, the directory in quest

相关标签:
2条回答
  • 2021-02-19 01:08

    You cannot delete a folder that has pending changes on any of its children (including if any of those children are being moved out of the folder - they're still children until that changeset is checked in.)

    You'll have to do this in two steps: first, move the children out of the folder and check those changes in, then delete the folder as a separate changeset.

    0 讨论(0)
  • 2021-02-19 01:11

    If the folder you want to delete exists on your local machine, just add a new file to the folder from within the Visual Studio IDE (it doesn't matter what type of file). Then you should be able to delete the folder from within VS.

    If the folder was deleted from your local machine, create a new one with the same name and then follow the above steps.

    0 讨论(0)
提交回复
热议问题