Import Visual Studio TFS workspaces

时光怂恿深爱的人放手 提交于 2019-11-29 14:22:20

问题


Is there a way to import Visual Studio TFS workspace, I have over 30 workspace and I need to import them to a TFS on new machine. Thanks


回答1:


If you want to clone the structure of your workspaces but leave the old ones alone, run

tf workspace /server:yourserver /new NewName /template:OldName;OldOwner

http://msdn.microsoft.com/en-us/library/tzy14b58.aspx

If you want to permanently migrate your workspaces from one machine to another, run...

tf workspaces /server:yourserver /updatecomputername:OldComputerName

http://msdn.microsoft.com/en-us/library/54dkh0y3.aspx

...then move all your files from the old box to the new one. If you're unable to use the same paths, you'll have to update the workspace definitions.




回答2:


Microsoft has documentation on this.

http://msdn.microsoft.com/en-us/library/ms404879.aspx



来源:https://stackoverflow.com/questions/2073284/import-visual-studio-tfs-workspaces

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!