将解决方案从一个Visual Studio在线团队项目移动到另一个

将解决方案从一个Visual Studio在线团队项目移动到另一个

问题描述:

Hello

我有一个以前连接到Visual Studio在线团队项目的解决方案。现在它已断开/取消链接。我希望将其添加到另一个新的团队项目中。我试着用谷歌搜索答案,但找不到我特定困境的答案。

I have a solution that used to be connected to a Visual Studio Online Team Project. Now it is disconnected/unlinked. I wish to add it to another new Team Project. I tried googling the answer, but could not find the answer to my specific dilemma.

我希望回答的问题:

1。如何在不更改本地文件夹结构的情况下移动解决方案?

1. How do I move the solution without changing the local folder structure in any way?

2。当我尝试将解决方案添加到源控件时,它会向我显示以下消息:"项目'DisplaySettingsForm.resx'已在所选位置的源控件下。如果您尝试重新绑定已在Microsoft Visual Studio外部添加到源
控件的项目,则应使用"更改源代码管理"命令。如果您是第一次添加此项目,则应为项目选择其他服务器文件夹,或将现有项目移动到其他服务器
文件夹。有4个选项'选择不同的位置','取消','忽略'和'忽略所有'。这条消息是什么意思?我应该选择哪个选项?

2. When I try to add the solution to a source control it gives me this message: "The item 'DisplaySettingsForm.resx' is already under source control at the selected location. If you are trying to rebind a project that you have already added to source control outside Microsoft Visual Studio, you should use the Change Source Control command. If you are adding this project for the first time, you should either choose a different server folder for the project or move the existing project to a different server folder." with 4 options 'Select different location', 'Cancel', 'Ignore' and 'Ignore All'. What does this message mean? Which option should I select?

3。如何从任何源代码控制绑定中彻底清除我当前的解决方案?

3. How do I completely clean my current solution from any source control binding whatsoever?

感谢您提前获得支持。

问候,

巴沙尔露露,

感谢您在此发帖。

无法更改源代码管理位置而不更改本地文件夹结构。您需要像以下步骤一样更改源控件:

It is impossible to change the source control location without changing the local folder structure. You need to change the source control like the following steps:

1。打开解决方案>>文件>>源代码管理>>高级>>更改源代码管理>>取消绑定解决方案。

1. Open the solution>>File>>Source Control>>Advanced>>Change Source Control>>Unbind the solution.

2。将文件移动到映射到另一个团队项目的本地文件夹。

2. Move the files into a local folder that is mapped to another team project.

3。右键单击解决方案>>添加到源代码管理。

3. Right click the solution>>Add to source control.

然后您可以将解决方案移至另一个团队项目。

Then you could move the solution to another team project.

最好的问候

Limitxiao Gao

Limitxiao Gao