How to have TFS 2010 detect changes done to files outside of Visual Studio?

前端 未结 11 1273
囚心锁ツ
囚心锁ツ 2020-11-28 01:59

I\'m using Team Foundation Server 2010 with Visual Studio 2010.

Whenever I modify a file outside of Visual Studio, TFS doesn\'t seem to detect the change done to the

11条回答
  •  独厮守ぢ
    2020-11-28 02:20

    *1- make changes outside of Visual Studio
    2- go to Visual Studio and open Source Control Explorer
    3- right click on the folder > "Check Out for Edit" > "Check Out"
    4- right click on the same folder > "Undo Pending Changes..." > "Undo changes" > "No to All"*
    

    I tested this workaround on a branch and it helped me a lot. But there are only new files and new folder who has to be done manually.

    I recommend to create a branch before the operation. It isolates you the time of the operation.

    Note: This technique does also the files identical cleanup that TFS always marks as modified.

提交回复
热议问题