Solved

Delete orphaned source control project

Posted on 2008-06-24
6
815 Views
Last Modified: 2013-11-26
I deleted a TFS project using TFSDeleteProject.exe, it did not delete the source code root folder (maybe because some files were checked out). Is there a way to delete the source code root folder? The delete command is disabled for the root folder.
0
Comment
Question by:mzgellis
6 Comments
 
LVL 5

Expert Comment

by:JuckMan
ID: 21922977
Does your root folder contains any files or Is it only the folder you are trying to delete?

0
 

Expert Comment

by:mgellis
ID: 21926473
The root folder is empty. See attached screenshot for error message.
TFS.bmp
0
 
LVL 1

Accepted Solution

by:
LISTECH earned 500 total points
ID: 21960823
<!-- /* Font Definitions */ @font-face      {font-family:Wingdings;      panose-1:5 0 0 0 0 0 0 0 0 0;      mso-font-charset:2;      mso-generic-font-family:auto;      mso-font-pitch:variable;      mso-font-signature:0 268435456 0 0 -2147483648 0;}@font-face      {font-family:"Cambria Math";      panose-1:2 4 5 3 5 4 6 3 2 4;      mso-font-charset:0;      mso-generic-font-family:roman;      mso-font-pitch:variable;      mso-font-signature:-1610611985 1107304683 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal      {mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-parent:"";      margin:0cm;      margin-bottom:.0001pt;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-type:export-only;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-type:export-only;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-type:export-only;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}.MsoChpDefault      {mso-style-type:export-only;      mso-default-props:yes;      mso-ascii-font-family:Calibri;      mso-ascii-theme-font:minor-latin;      mso-fareast-font-family:Calibri;      mso-fareast-theme-font:minor-latin;      mso-hansi-font-family:Calibri;      mso-hansi-theme-font:minor-latin;      mso-bidi-font-family:"Times New Roman";      mso-bidi-theme-font:minor-bidi;      mso-fareast-language:EN-US;}.MsoPapDefault      {mso-style-type:export-only;      margin-bottom:10.0pt;      line-height:115%;}@page Section1      {size:612.0pt 792.0pt;      margin:72.0pt 72.0pt 72.0pt 72.0pt;      mso-header-margin:36.0pt;      mso-footer-margin:36.0pt;      mso-paper-source:0;}div.Section1      {page:Section1;} /* List Definitions */ @list l0      {mso-list-id:1608731013;      mso-list-template-ids:1362247068;}@list l0:level1      {mso-level-number-format:bullet;      mso-level-text:·;      mso-level-tab-stop:36.0pt;      mso-level-number-position:left;      text-indent:-18.0pt;      mso-ansi-font-size:10.0pt;      font-family:Symbol;}ol      {margin-bottom:0cm;}ul      {margin-bottom:0cm;}-->Clicked Start -> All     Programs -> Microsoft Visual Studio 2008 -> Visual Studio Tools     -> Visual Studio 2008 Command Prompt


Typed the command: tf destroy /startcleanup $/MyTeamProject

This will do the job.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 1

Expert Comment

by:LISTECH
ID: 21960829
<!-- /* Font Definitions */ @font-face      {font-family:Wingdings;      panose-1:5 0 0 0 0 0 0 0 0 0;      mso-font-charset:2;      mso-generic-font-family:auto;      mso-font-pitch:variable;      mso-font-signature:0 268435456 0 0 -2147483648 0;}@font-face      {font-family:"Cambria Math";      panose-1:2 4 5 3 5 4 6 3 2 4;      mso-font-charset:0;      mso-generic-font-family:roman;      mso-font-pitch:variable;      mso-font-signature:-1610611985 1107304683 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal      {mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-parent:"";      margin:0cm;      margin-bottom:.0001pt;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-type:export-only;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-type:export-only;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast      {mso-style-priority:34;      mso-style-unhide:no;      mso-style-qformat:yes;      mso-style-type:export-only;      margin-top:0cm;      margin-right:0cm;      margin-bottom:0cm;      margin-left:36.0pt;      margin-bottom:.0001pt;      mso-add-space:auto;      mso-pagination:widow-orphan;      font-size:12.0pt;      font-family:"Times New Roman","serif";      mso-fareast-font-family:"Times New Roman";}.MsoChpDefault      {mso-style-type:export-only;      mso-default-props:yes;      mso-ascii-font-family:Calibri;      mso-ascii-theme-font:minor-latin;      mso-fareast-font-family:Calibri;      mso-fareast-theme-font:minor-latin;      mso-hansi-font-family:Calibri;      mso-hansi-theme-font:minor-latin;      mso-bidi-font-family:"Times New Roman";      mso-bidi-theme-font:minor-bidi;      mso-fareast-language:EN-US;}.MsoPapDefault      {mso-style-type:export-only;      margin-bottom:10.0pt;      line-height:115%;}@page Section1      {size:612.0pt 792.0pt;      margin:72.0pt 72.0pt 72.0pt 72.0pt;      mso-header-margin:36.0pt;      mso-footer-margin:36.0pt;      mso-paper-source:0;}div.Section1      {page:Section1;} /* List Definitions */ @list l0      {mso-list-id:1608731013;      mso-list-template-ids:1362247068;}@list l0:level1      {mso-level-number-format:bullet;      mso-level-text:·;      mso-level-tab-stop:36.0pt;      mso-level-number-position:left;      text-indent:-18.0pt;      mso-ansi-font-size:10.0pt;      font-family:Symbol;}ol      {margin-bottom:0cm;}ul      {margin-bottom:0cm;}-->open Visual Studio 2008 Command Prompt and Typed the command: tf destroy /startcleanup $/MyTeamProject, and this will do the job.
0
 

Expert Comment

by:mgellis
ID: 21965403
That works, thank you
0
 

Author Closing Comment

by:mzgellis
ID: 31470266
It works, thank you... look at your answer, you pasted in a bunch of garbage...
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How would you add MULTITHREADING to the attached C# code? 4 63
Receiving a string from a WebService Push 21 50
Entity Framework 7 43
C# LINQ ForEach() question 6 28
Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question