我将一些代码从我的 c 驱动器移动到我的 d 驱动器。当我打开解决方案时,它告诉我:
The solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.
所以我尝试永久删除绑定(bind)并下载最新版本。现在我的更改不会注册为待处理的更改。
我尝试在解决方案资源管理器和
File => Source Control => Change Source control
中选择解决方案,但它不允许我绑定(bind)。服务器名称和服务器绑定(bind)列有“”。
最佳答案
一般来说,您机器上代码的位置取决于您的工作区所在的位置。
如果您将工作区移动到 D: 驱动器,那么应该没有问题。
但是,如果您只是使用资源管理器将文件复制到新位置,那么 VS 将无法维护绑定(bind)。
在工作区编辑器中,您可以将整个树、解决方案甚至单个项目映射到新位置。
关于visual-studio - 如何让 Visual Studio Team Foundation Server 看到我将代码移动到不同的文件夹?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9704347/