views:

94

answers:

4

I need to disable check-in operation for several projects in my solution. I need it to ensure myself from uploading changes to projects which I don't want to change. Is it possible with Team Explorer?

A: 

You could change permissions on the folders in TFS to remove checkin rights.

But this could be a rather large hammer, why not just revert any changes to do (accidentally) make?

Richard
Thank you Richard. I know about this. I need this on client side
Tim
+1  A: 

TFS only tracks changes that are made through Visual Studio. In your case, you need to edit the files locally, but without VS knowing. Unfortunately, this is difficult, because your converter is running in VS.

The steps would be

  1. "Get" Entire Solution
  2. Open solution in VS
  3. run converter to 2010
  4. Copy the relevant sln files to a local folder.
  5. Undo pending changes on the files you don't want checked in.
  6. Paste the modified files back.

Some risks associated with this. This is a huge pain if the SLN files get changed very often, because your local changes will be overwritten. This cannot be avoided however, because this problem would still exist if you had them 'checked out' the normal way. You will not be able to add/remove projects to the SLN because your VS version is wrong. you will need to get someone with vs 2008 to "Add..." the project, then you'll have to get latest on the SLN and run the conversion steps again.

This is workaround but works good! Thank you!
Tim
+1  A: 

Any reason why you cant do one of the following:

  • Work offline (IIRC you can selectively bind projects within a solution)
  • Shelve changes
  • Create a branch
leppie
A: 

Personally I'd create a branch.

AndyC