简体   繁体   English

TFS 2010:打开时检出文件

[英]TFS 2010 : Check out file on open

I have a number of projects that include certain files that I use for creating block diagrams, etc. (*.graphml, *.doc, *.docx to be exact). 我有许多项目,其中包括某些用于创建程序框图等的文件(确切地说是* .graphml,*。doc,*。docx)。 While I have setup the files to 'open with' the appropriate editor, I have to manually check them out in TFS to make them 'writeable' It seems that there should be a way to have TFS check the files out automatically like it does for code, xml, etc. How can I go about achieving this?? 当我将文件设置为使用适当的编辑器“打开”时,我必须在TFS中手动将其检出以使其“可写”。似乎应该有一种方法可以让TFS像这样自动地检出文件。代码,xml等。如何实现此目标?

NOTE: 注意:
My TFS options are set to 'automatically check out' files, to no avail. 我的TFS选项设置为“自动检出”文件,无济于事。

Programs are required to have their own integration with TFS to be able to perform a Check-out of the files when needed. 程序需要与TFS自己集成,以便能够在需要时执行文件检出。 Opening Files in applications that are not "TFS Aware" requires you to check them out in Visual Studio or Explorer + TF Power Tools before you start wok on them. 在没有应用程序打开文件“TFS意识到”需要检查出来在Visual Studio或资源管理器+ TF电动工具,你在他们启动铁锅前。 Even opening SQL files with SSMS, if they are not in a database project, requires you to perform a Check-out. 即使使用SSMS打开SQL文件(如果它们不在数据库项目中),也需要您执行检出。

Some applications can work with TFS via MSSCCI (Misky), but these are mostly programming tools (IDE's etc) as far as I know. 某些应用程序可以通过MSSCCI (Misky)与TFS一起使用,但是据我所知,这些大多数都是编程工具(IDE等)。

This will all be fixed in TFS 2012 with the introduction of Local Workspaces . 随着本地工作区的引入,所有这些都将在TFS 2012中修复。

Go to Tools>Options> Select Source Control under options. 转到工具>选项>在选项下选择源代码管理。 Select Environment under Source Control 在源代码管理下选择环境

There is a section called 'Checked-in items' for the Editing dropdown select ' Check out automatically' 在“编辑”下拉菜单中有一个“签入项目”部分,选择“自动签出”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM