VS2010取消映射工作区路径 [英] VS2010 Unmap Workspace Path

查看:243
本文介绍了VS2010取消映射工作区路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VS2010支持基于XP平台的遗留应用程序。 我创建了一个名为Installshield ISM的工作区,源位置是$ / tools / setups,它的路径映射到c:\ setsups \\\ 00.00。 当我选择
ISM工作区时,它没有显示。 所以我运行了tf workspaces / owner:*命令,发现ISM工作区已经存在。 然后我运行TF工作区/删除和TF工作区/删除的组合,以删除我完成的工作区。 
但是在不知不觉中这些命令没有取消映射本地路径。 我已尝试运行TF workfold以取消映射路径:tf workfold / unmap c:\ setsups \\\ 00.00,  now 得到此错误   无法确定工作区。您可以通过运行'tf workspaces / collection:TeamProjectCollectionUrl'来纠正


所以我无法重新创建工作区,我可以取消映射本地路径,并设置Installshield配置以查看c:\ setsups \\\ 00.00。


请提供帮助以取消映射本地工作区或重新创建工作区那是删除所以我可以先运行unmap命令。


解决方案

Hi Sudomir ,


感谢您的帖子。


你的TFS版本是什么?


"MyFirstConsoleApp"解决方案在执行此命令后删除了map 。


"tf workfold
  / unmap  


/ TeamProjectName / MyFirstConsoleApp / collection:http:// ServerName / tfs / defaultcollection / workspace:WorkSpaceName"


< p style ="background:white"> 当我使用"tf workfold / unmap localfolder"时我得到了同样的错误,我建议你使用
serverfolder 而不是 localfolder   到以下命令"tf workfold / unmap"。


谢谢,


I am working with VS2010 supporting a legacy application that builds on the XP platform.  I had created a workspace named Installshield ISM and the source location is $/tools/setups and it's path was mapped to c:\setups\8.00.  When I went to select the ISM workspace it didn't display.  So I ran the tf workspaces /owner:* command and found that the ISM workspace existed.  I then ran the combination of TF workspace /delete and TF workspaces /remove, in order to delete the workspace, which I accomplished.  But unknowingly these commands did not unmap the local path.  I've tried to run TF workfold to unmap the path: tf workfold /unmap c:\setups\8.00, now get this error  Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'.

So I can't re-create the workspace and I can't unmap the local path and the Installshield configurations are setup to look at c:\setups\8.00.

Please provide help that will either unmap the local workspace or recreate the workspace that was delete so I can run the unmap command first.

解决方案

Hi Sudomir,

Thanks for your post.

What’s your TFS Version?

I tested your scenario on my local TFS2013 Update4, and the command of "tf workfold /unmap" can execute success with following format, my solution of "MyFirstConsoleApp" remove map after executed this command.

"tf workfold  /unmap  


/TeamProjectName/MyFirstConsoleApp /collection:http://ServerName/tfs/defaultcollection /workspace:WorkSpaceName"

When I used "tf workfold /unmap localfolder" I got the same error with you, I suggest you to use serverfolder instead of localfolder  to following command "tf workfold /unmap" .

Thanks,


这篇关于VS2010取消映射工作区路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆