{"id":4263,"date":"2012-10-05T06:36:28","date_gmt":"2012-10-05T06:36:28","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2012\/10\/05\/set-local-workspaces-as-default-when-upgrading-to-tfs-2012\/"},"modified":"2020-02-25T06:17:39","modified_gmt":"2020-02-25T14:17:39","slug":"set-local-workspaces-as-default-when-upgrading-to-tfs-2012","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/set-local-workspaces-as-default-when-upgrading-to-tfs-2012\/","title":{"rendered":"Set Local Workspaces as Default when Upgrading to TFS 2012"},"content":{"rendered":"<p>I was reminded yesterday by a customer about something in the upgrade process that I thought was a helpful reminder for all the TFS administrators.\u00a0 If you are upgrading from an earlier version of Team Foundation Server to the recently released Team Foundation Server 2012, you\u2019ll want to make sure you add one more step to your post-upgrade plan.<\/p>\n<p>If you aren\u2019t familiar, local workspaces is the new feature in Team Foundation Server 2012 that makes it much easier to get started with working in TFS version control.\u00a0 It also improves the \u201coffline\u201d experience for developers and removes the \u201cread-only\u201d bit for version control items that aren\u2019t checked-out.\u00a0 Brian Harry introduced them in a blog post he wrote about the <a href=\"http:\/\/blogs.msdn.com\/b\/bharry\/archive\/2011\/08\/02\/version-control-model-enhancements-in-tfs-11.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">version control improvements introduced in TFS 2012<\/a>.\u00a0 Here\u2019s a video that shows how local workspaces are different from the traditional workspaces in previous releases.\u00a0 There is also a really good MSDN article that helps you understand when you should decide between the two options:\u00a0 <a href=\"http:\/\/bit.ly\/TFSWorkspaceDecision\" target=\"_blank\" rel=\"noopener noreferrer\">Decide Between Using a Local or a Server Workspace in TFS 2012<\/a>.<\/p>\n<p style=\"text-align: center;\"><iframe width=\"420\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/g8Hf067fKUU\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2><\/h2>\n<p>FYI \u2013 Local workspaces is available if you are using <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=30661\" target=\"_blank\" rel=\"noopener noreferrer\">Team Explorer Everywhere 2012<\/a> on Mac OS, Linux, or Windows Eclipse-based environments.<\/p>\n<h2>Post-Upgrade Steps \u2013 Set Local Workspaces as Default<\/h2>\n<p>Local workspaces are set as the default when you install a brand new version of Team Foundation Server 2012 or when you provision a new Team Foundation Service instance at <a href=\"http:\/\/tfspreview.com\">http:\/\/tfspreview.com<\/a>.\u00a0 It\u2019s important to know though that\u00a0 whenever you upgrade from an earlier version of TFS,<strong><em> the default is kept to \u201cserver workspaces\u201d<\/em><\/strong> instead to maintain backwards compatibility.\u00a0 I highly suggest you update the default to local workspaces.<\/p>\n<p><strong>Step 1<\/strong> \u2013 Open Team Explorer in Visual Studio 2012 and connect to your team project collection.\u00a0 It doesn\u2019t matter which team project you end up selecting.\u00a0 Click on the Settings link from the Home page.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/00\/00\/00\/45\/92\/metablogapi\/5123.image_3B26113B.png\"><img decoding=\"async\" style=\"padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;\" title=\"Settings Link in Team Explorer 2012\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2012\/10\/2376.image_thumb_5A68B80E.png\" alt=\"Settings Link in Team Explorer 2012\" width=\"328\" height=\"287\" border=\"0\" \/><\/a><\/p>\n<p><strong>Step 2<\/strong> \u2013 Next, you\u2019ll want to open up the Source Control settings dialog under the Team Project Collection section of the Settings page.\u00a0 If you are connected to a team project, like I am in the screenshot, don\u2019t make the mistake of clicking the team project\u2019s source control settings link.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/00\/00\/00\/45\/92\/metablogapi\/4530.image_0BF425A4.png\"><img decoding=\"async\" style=\"padding-top: 0px; padding-left: 0px; padding-right: 0px; border-width: 0px;\" title=\"Choosing Source Control Settings in Team Explorer\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2012\/10\/5826.image_thumb_0468B637.png\" alt=\"Choosing Source Control Settings in Team Explorer\" width=\"327\" height=\"349\" border=\"0\" \/><\/a><\/p>\n<p><strong>Step 3<\/strong> \u2013 In the Source Control Settings dialog, switch over to the Workspace Settings tab and then choose \u201cLocal\u201d from your options and click OK.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/00\/00\/00\/45\/92\/metablogapi\/1307.image_3FBC1BF5.png\"><img decoding=\"async\" style=\"padding-top: 0px; padding-left: 0px; padding-right: 0px; border: 0px;\" title=\"Team Project Collection Source Control Settings for Local Workspaces\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2012\/10\/5078.image_thumb_03241D58.png\" alt=\"Team Project Collection Source Control Settings for Local Workspaces\" width=\"601\" height=\"418\" border=\"0\" \/><\/a><\/p>\n<h2>Developer Next Steps<\/h2>\n<p>The first time that developers open Visual Studio 2012, their previous workspace will remain as it was but when they navigate to the Pending Changes hub, they\u2019ll get a nice notification that let\u2019s them convert their existing server workspace into a local workspace as shown below.\u00a0 Developer won\u2019t receive that notification if the team project collection\u2019s default is set to server workspaces though so it\u2019s important to update it.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/00\/00\/00\/45\/92\/metablogapi\/1307.10-5-2012-9-33-11-AM_3758469E.png\"><img decoding=\"async\" style=\"padding-top: 0px; padding-left: 0px; padding-right: 0px; border: 0px;\" title=\"Developer Notification to Upgrade to Local Workspace\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2012\/10\/1768.10-5-2012-9-33-11-AM_thumb_61C477BB.png\" alt=\"Developer Notification to Upgrade to Local Workspace\" width=\"352\" height=\"432\" border=\"0\" \/><\/a><\/p>\n<p>It\u2019s a one-time operation and from that point, developers will be able to leverage a local workspace in Visual Studio 2012!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><a href=\"http:\/\/www.edsquared.com\" target=\"_blank\" rel=\"noopener noreferrer\">Ed Blankenship<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was reminded yesterday by a customer about something in the upgrade process that I thought was a helpful reminder for all the TFS administrators.\u00a0 If you are upgrading from an earlier version of Team Foundation Server to the recently released Team Foundation Server 2012, you\u2019ll want to make sure you add one more step [&hellip;]<\/p>\n","protected":false},"author":105,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[228,253,1,225],"tags":[],"class_list":["post-4263","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-admin-licensing","category-azure-devops-server","category-devops","category-git"],"acf":[],"blog_post_summary":"<p>I was reminded yesterday by a customer about something in the upgrade process that I thought was a helpful reminder for all the TFS administrators.\u00a0 If you are upgrading from an earlier version of Team Foundation Server to the recently released Team Foundation Server 2012, you\u2019ll want to make sure you add one more step [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/4263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/105"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=4263"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/4263\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=4263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=4263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=4263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}