简体   繁体   English

有什么方法可以配置TFS或VS以默认使用服务器工作区?

[英]Is there any way to configure TFS or VS to use server workspaces by default?

My organization was quite comfortable using server workspaces before we upgraded to TFS 2012, and the headaches that have been caused by local workspaces have been enormous and innumerable. 在升级到TFS 2012之前,我的组织对使用服务器工作区非常满意,而由本地工作区引起的头痛是巨大而无数的。 I would very much like to disable local workspaces, or if that's impossible, to at least change the default to a server workspace so that it's not such a landmine for my users. 我非常想禁用本地工作空间,或者,如果不可能的话,至少将默认值更改为服务器工作空间,以免对我的用户造成伤害。

Is this possible? 这可能吗? My search hasn't turned up much in the way of results. 我的搜索结果并不多。

You can change the default workspace type for a Team Project Collection. 您可以更改团队项目集合的默认工作空间类型。 In Team Explorer, open the Settings page and select Team Project Collection > Source Control. 在团队资源管理器中,打开“设置”页面,然后选择“团队项目集合”>“源代码管理”。

Team Explorer设置页面

In the Source Control Settings dialog, select the Workspace Settings tab. 在“源代码管理设置”对话框中,选择“工作空间设置”选项卡。 There you can select either server or local workspaces as the default. 您可以在其中选择服务器或本地工作区作为默认工作区。

源代码管理设置对话框

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

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