Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Deactivate a project?

Tags:

tfs

Is there a way to deactivate a project in TFS? (not delete, just deactivate so nobody can checkout or checkin)

This is more of a precaution rather than a hard enforcement. We have a project that was branched but was recently merged to a trunk. This project is no longer in use and I don't want anyone to accidentally use it by checking in/out any of its content. It will eventually be deleted when we have tested the merge completely

like image 673
Denis Avatar asked Dec 09 '11 20:12

Denis


1 Answers

In Team Explorer, right click on the project and bring up Team Project Settings -> Group Membership. Go through each group, click Properties, and remove all users and groups from each group. This should prevent anyone who doesn't have a TFS administrator role from being able to check the code out. It may even prevent TFS administrators from being able to check it out without first adding themselves back to the correct project group.

I think this will work, but you should try it as I've never actually done it.

like image 151
tvanfosson Avatar answered Sep 23 '22 18:09

tvanfosson