在签出 TFS 项目之前,我需要创建哪些文件夹(如果有)? [英] Which, if any, folders do I need to create before checking out a TFS project?

查看:32
本文介绍了在签出 TFS 项目之前,我需要创建哪些文件夹(如果有)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要检出的项目的路径在 TFS 源代码管理资源管理器中是这样显示的:

The path to the project I need to check out is displayed in the TFS Source Control Explorer this way:

Handheld
    Development
        Development
            HDP
                HDP

或者,在源位置:"这样:$/Handheld/Development/Development/HDP/HDP

Or, in the "Source location:"this way: $/Handheld/Development/Development/HDP/HDP

我需要检查和处理的代码在最后一个文件夹中.那么在右键单击第二个HDP"文件夹并选择获取最新版本"之前我需要做什么?IOW,我是否需要先创建一个或多个空文件夹以供 TFS 查找,还是会根据需要创建这些文件夹?

The code that I need to check out and work on is in that last folder. So what do I need to do before right-clicking that second "HDP" folder and selecting "Get Latest Version"? IOW, do I need to create an empty folder or folders first for TFS to find, or will it create those as necessary?

我目前通过 TFS 进行的另一个项目的源代码位于此处的 TLD 文件夹(和子文件夹)中:

The source for the other project I currently work on via TFS lives in the TLD folder (and subfolders) here:

C:\Project\ccr\TLog\Development\Development\TLD

...这在 TFS 中是这样表示的:

...and this is represented in TFS thusly:

TLog
    Development
        Development
            TLD

($/TLog/Development/Development/TLD)

($/TLog/Development/Development/TLD)

那么我是否需要在结帐之前在 C:\Project\ccr\ 下添加Handheld\Development\Development\HDP\HDP"文件夹,以便我结帐:

So do I need to add "Handheld\Development\Development\HDP\HDP" folders below C:\Project\ccr\ prior to doing the checkout, so that I check out into this:

C:\Project\ccr\Handheld\Development\Development\HDP\HDP

?

Martin 的回答就像一个冠军——它按照他说的做了(创建了必要的子文件夹);然而,我现在有两个问题(第一个是这是一个 VB 项目,到目前为止我已经成功地避免接触 VB,所以此刻感觉就像一个落花"的少女......但我'会放手的);更紧迫的问题是,当我打开解决方案时,我得到,此插件适用于 Visual Studio 的旧版本 [原文如此].请使用团队资源管理器."

Martin's answer worked like a champ -- it did just what he said it would (created the necessary subfolders); however, I have two problems now (the first one is that this is a VB project, and I have up until now successfully avoided ever touching VB, and so feel something like a "deflowered" maiden at the moment ... but I'll let that go); the more pressing problem is that when I went to open the solution, I got, "This plugin is intended for older version [sic] of Visual Studio. Please use Team Explorer."

Deuce McAllister 是什么?!?这不能是一个抛光"的插件,因为版本"这个词在它应该是复数的地方是单数.我可以放心地忽略这个吗?

What the Deuce McAllister?!? This must not be a "polished" plugin, because the word "version" is singular where it should be plural. Can I safely ignore this?

该死!"正如 Kip Dynamite 如此著名的抱怨一样.我已经遇到了这个问题,因为搜索 err msg 出现了(如何强制 VS2010 停止使用过时的插件?);我不仅不记得当时我做了什么来解决它,我什至不记得问过它.如果不是记性不好,我的记忆力都没有A高了.

"Dang it!" as Kip Dynamite so famously whined. I already had this problem, as a search for the err msg turned up (How can I force VS2010 to stop using an outdated plugin?); and not only do I not recollect what I did to solve it back then, I don't even really recall asking it. If it weren't for a bad memory, I'd have no memory A tall.

推荐答案

你可以将 $/Handheld 映射到 C:\Project\ccr\Handheld 然后得到你想要的,它会根据需要在本地创建文件夹.如果 $/Handheld 下有你不想要的东西,那么你可以cloak 它.

You could just map $/Handheld to C:\Project\ccr\Handheld and then get what you want and it will create folders locally as needed. If there is stuff under $/Handheld that you don't want then you could cloak it.

这篇关于在签出 TFS 项目之前,我需要创建哪些文件夹(如果有)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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