将现有Visual Studio项目放入VSTS项目的最佳方法 [英] Best Way to Put Existing Visual Studio Projects into VSTS Projects
问题描述
基本上我在VSTS中创建项目,在VS2017中打开它们并复制和粘贴代码。有没有更好的方法?
Basically I'm creating the projects in VSTS, opening them in VS2017 and copying and pasting code over. Is there a better way?
推荐答案
您好BBB1910,
Hi BBB1910,
您可以创建一个团队项目(使用TFVC作为版本控制)或使用VSTS中的现有版本。
You could create a team project (use TFVC as version control) or use an existing one in VSTS.
您需要在VS2017中完成的后续步骤:
The next steps you need to complete in VS2017:
1。连接到团队资源管理器中的团队项目
1. Connect to the Team project in team explorer
2。在团队项目和磁盘上代码的当前位置之间创建工作区映射。
2. Create a workspace mapping between the team project and the current location of your code on disk.
3。打开待处理更改页面,您将在此处看到检测到的更改,促进更改:
3. Open Pending changes page, you will see Detected changes here, promote the changes:
4。检查这些更改。您现有的Visual Studio项目将签入您的VSTS。
4. Check in these changes. Your existing Visual Studio Projects are check in to your VSTS.
最好的问候
这篇关于将现有Visual Studio项目放入VSTS项目的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!