TFSDeleteProject: Deleting Team Projects

 


 TFS 2012 Team Explorer을 통해 만들어진 프로젝트를 지우려고 한다. 그런데 아래와 같은 에러 메세지를 보여주면서 삭제할 수 없다고 한다.



[그림1] 삭제 버튼을 누르면 나오는 화면


 위와 같이 Team Explorer을 통해서는 삭제를 하지 못하고 TFSDeleteProject 명령어를 통해서 삭제를 할 수 있다. 아래 그림과 같이 "Common" 프로젝트를 삭제해 보도록 하자. 




[그림2] Common 프로젝트를 선택한 모습



이제 Visual studio를 설치한 폴더에서 아래와 같이 입력해 보자.



C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>TFSDeleteProject.exe /force /collection:http://xxx.xxx.xxx.xxx:8080/tfs/xxx common 


Warning: Deleting a team project is an irrecoverable operation. All version control, work item tracking and Team Foundation build data will be destroyed from the system. The only way to recover this data is by restoring a stored backup of the databases. Are you sure you want to delete the team project and all of its data (Y/N)?y     <- "Y"를 입력


Deleting from Build ...

Done

Deleting from Version Control ...

Done

Deleting from Work Item Tracking ...

Done

Deleting from TestManagement ...

Done

Deleting from ProcessManagement ...

Done

Deleting from LabManagement ...

Done

Deleting from ProjectServer ...

Done

Warning. Did not find Report Server service.

Warning. Did not find SharePoint site service.

Deleting from Team Foundation Core ...

Done 

[표1] Command창에서 Common 프로젝트 삭제 (TFSDeleteProject) 명령어 입력



 위와 같이 입력하면 해당 프로젝트를 삭제할 수 있다.


+ Recent posts