{"id":4313,"date":"2006-02-17T14:40:00","date_gmt":"2006-02-17T14:40:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2006\/02\/17\/renaming-folders-that-are-explicitly-mapped\/"},"modified":"2006-02-17T14:40:00","modified_gmt":"2006-02-17T14:40:00","slug":"renaming-folders-that-are-explicitly-mapped","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/renaming-folders-that-are-explicitly-mapped\/","title":{"rendered":"Renaming folders that are explicitly mapped"},"content":{"rendered":"<p>Internally, someone wanted to rename a folder and received an error instead of having the folder moved.&nbsp; When trying to rename $\/ProjectA\/Folder1 to $\/ProjectB\/Folder1, the user received the error message, &#8220;TF14097: Cannot rename $ProjectA\/Folder1 when it has a working folder mapping assigned to it.&#8221;<\/p>\n<p>If you run into that, here&#8217;s what it means.<\/p>\n<blockquote>\n<p>The system does not allow you to rename an item that is explicitly mapped.&nbsp; If you bring up your workspace mappings (File -&gt; Source Control -&gt; Workspaces, select your workspace, and click Edit), you will see that $\/ProjectA\/Folder1 is listed in the mappings.&nbsp; An item is mapped explicitly if you see it listed in the dialog.&nbsp; An item is mapped implicitly if it&rsquo;s mapped because one of its parents is listed in the mappings in the dialog.<\/p>\n<p>To rename the folder, you will need to change the mapping to map the parent, $\/ProjectA, instead.&nbsp; For the best experience, you may want to map $\/ProjectB as well, though it is not required.<\/p>\n<p>For example, if you have $\/ProjectA\/Folder1 mapped to c:projectsprojectAFolder1, you could map $\/ProjectA to c:projectsprojectA.&nbsp; Then you would be allowed to rename $\/ProjectA\/Folder1 to $\/ProjectB\/Folder1.<\/p>\n<p>After you have renamed the folder, you can change the mappings back to their original settings, if you like.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Internally, someone wanted to rename a folder and received an error instead of having the folder moved.&nbsp; When trying to rename $\/ProjectA\/Folder1 to $\/ProjectB\/Folder1, the user received the error message, &#8220;TF14097: Cannot rename $ProjectA\/Folder1 when it has a working folder mapping assigned to it.&#8221; If you run into that, here&#8217;s what it means. The system [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[6,8],"class_list":["post-4313","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-source-control","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>Internally, someone wanted to rename a folder and received an error instead of having the folder moved.&nbsp; When trying to rename $\/ProjectA\/Folder1 to $\/ProjectB\/Folder1, the user received the error message, &#8220;TF14097: Cannot rename $ProjectA\/Folder1 when it has a working folder mapping assigned to it.&#8221; If you run into that, here&#8217;s what it means. The system [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/4313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=4313"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/4313\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=4313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=4313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=4313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}