Thursday, July 10, 2014

Visual Studio Online (cloud hosted TFS): Deleting a Team Project

I often create temporary projects to test automating the build. The test projects ultimately need to get deleted which is where TFSDeleteProject comes in (Delete a team project [TFSDeleteProject]). The command-line to delete a Visual Studio Online project is as follows:

TFSDeleteProject /collection:https:/<your vanity name here>.visualstudio.com/DefaultCollection "your project name"

In a previous posting, Visual Studio Online was subscribed to  using the vanity URL, admiralgracehopper.visualstudio.com. Using TFSDeleteProejct to delete a project named ATestProject from admiralgracehopper.visualstudio.com would be handled as follows:

TFSDeleteProject /collection:https:https://admiralgracehopper.visualstudio.com ATestProject

No comments :

Post a Comment