TFS获取带有新文件的最新版本 [英] TFS get latest version with new files

查看:90
本文介绍了TFS获取带有新文件的最新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

向解决方案中添加新文件或文件夹时,TFS出现问题.

I'm having problems with TFS when adding new files or folders to my solution.

当团队中的其他任何人尝试获取最新信息"时,它都会更新每个更改的文件,但不会下载新添加的文件!

When any other people in the team try to "get latest" it updates every changed file but it doesn't download the new added files!!

如果转到源代码管理"资源管理器,新文件将显示为未下载" ...,如果我们强制下载,则我们也必须将该文件包括在他的计算机中的项目中.

If we go to the Source Control explorer, the new files appear as "not downloaded"... and if we force it to download, then we have to include the file in the project in his machine too.

我不敢相信这是TFS的正常行为(我认为这是基本的),所以我认为我们做错了什么...对正在发生的事情有任何了解?

I can't believe this is the normal behavior for TFS (I think this is basic) so I assume we are doing something wrong... Any idea of what's happening??

预先感谢;-)

推荐答案

您是否还签入了与添加文件相关的项目文件?在解决方案资源管理器中,这些文件仅在本地项目文件中也可用.还要检查尝试下载的用户是否已检出项目文件.

Have you also checked in the project file to which the added files are related? In Solution Explorer these files will only be available if they are also in the local project file. Also check if the user attempting to download has the project file checked out already.

更新: 从解决方案资源管理器中,您将只获得.proj文件中引用文件所需要的内容.对于Source Control Explorer,如果您以前从未下载过这些文件,它将获取这些文件.最好的确定方法是,而不是仅执行Get Latest(获取最新版本(试图将其了解的有关您本地工作区的服务器端信息与服务器同步))来获取特定版本->最新版本.这样,无论现有的工作空间状态如何,您都可以强制"下载所有项目文件.

Update: From within Solution Explorer you'll only get what's required for the referenced files in the .proj file. For Source Control Explorer yes it should get those files if you've never downloaded them before. Best way to be sure is rather than just do Get Latest (which tries to sync what it understands server side about your local workspace with the server) do a Get Specific Version -> Latest Version. This way you can "force" download of all project files irrespective of existing workspace status.

这篇关于TFS获取带有新文件的最新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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