The project file has been moved renamed or is not on your computer

后端 未结 15 1191
心在旅途
心在旅途 2020-12-22 20:49

I get this error when I try to load a VS 2008 project from TFS source control:

The project file has been moved, renamed or is not on your computer

相关标签:
15条回答
  • 2020-12-22 21:16

    Right click on the unavailable project and edit the project file ... chances are, you will find a hardcoded file path or a virtual one that does not match where you checked the project out to.

    Kindness,

    Dan

    0 讨论(0)
  • 2020-12-22 21:17

    Clear out your workspace mappings (File -> Source Control -> Workspaces). Edit the workspace and either clear out all the mappings (more repercussion) or find the one that's associated to this server path. Then open Source Control Explorer and remap. Double click the SLN in Source Control explorer and it should get latest. Not entirely sure what has happened or what state you managed to get into, but with this should get you moving again.

    0 讨论(0)
  • 2020-12-22 21:18

    In my case, deleting the .suo file was insufficient. I discovered that my workspace configuration had an error. I discovered and resolved the problem with these steps:

    1. In Team Explorer, "Manage Workspaces..."

      enter image description here

    2. Click "Edit..."

      enter image description here

    3. Correct the value under "Local Folder"

      enter image description here

    4. Finally, delete the affected .suo files per the accepted answer.

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