Renaming the containing project folder in VS.net under TFS

前端 未结 6 1966
猫巷女王i
猫巷女王i 2020-12-04 07:02

I have a vs.net project, and after some refactoring, have modified the name of the project. How can I easily rename the underlying windows folder name to match this new pro

6条回答
  •  没有蜡笔的小新
    2020-12-04 07:18

    My particular configuration is VS2010 connecting to TFS2008. I tried some of the other solutions here, but had problems. I found the following worked for me:-

    1. Remove project in folder to be renamed from solution
    2. Save solution
    3. Rename folder containing removed project in TFS source control (this renames locally on your hard disk)
    4. Add project back to the solution from the new location
    5. Save solution
    6. Commit to source control

    Now, you'll have the folder rename and the solution re-map all committed under one changeset.

提交回复
热议问题