Sunteți pe pagina 1din 2

TFS & my exprience My first project after training starts with TFS integrated mode.

my first experience with tfs is like a baby with first footsteps. I fell many times during the project. Since I worked on the internal project, the problem which created and sol ed doesnt make any harm. !s de eloper, I de eloped created many projects and added to the tfs source controls. Work in unplugged mode " TFS #$%$ has a web access, which allows the user to download the source control files from browser. This allows the user to work from any place with internet enabled mode. &ere are the tips which I learned through all my experience. %. Don't make a build error check-in " this will make problem and stops other people to work with it. Irrespecti e of whether the project working or not, once check"in should not affect others. To resol e this TFS #$%$ came up with new feature, which checks whether the check"in has any build errors #. Maintaining multiple workspaces - this needs a special care. If any file is checked" out in any workspace, then the file has to be checked"in or re oked by the same workspace. !tmost ha e # workspace one to work with it and another for backup and other demo purposes. '. dding !ew "tem to source control " (hile adding new item such as projects or other documents and other )o*s, all the file has to be manually to mo ed to the mapping location of the source control before the project is added to the source control. +therwise that particular project,file alone will be mapping to some different location. Deleting a #ile " -eleting a item from source control is the easiest job but generally dont do that. If a file is referred by any one of the file, then don.t delete the item which will make a build"error check"in. /. $arallel & Single %hecked-out " This feature allows more than one person to work on the same file. So this will lead to different branches of same file. So allowing such feature will helpful only for a small and fast de elopment projects. &ow to handle a pro'ect de(elopment in single check-out) If the project is de eloped by more than one person, then project file cant be checked out by more than one person at a time. Then it will make a problem in adding new files to the project. To resol e such a situation, add just dummy,empty the files to the project and make a initial check"in without build error. +nce file is added to the source control, check"out the file for edit more and work on it. This will allow other people in the project to work with it in effiecent mode. &ow to hi'ack a #ile) In the single check"out mode, if more than one person needs a same file to work with it,

then hijack the file and work with it. Say, goto the file location in explorer, then remo e read only, open it in normal text editor and make the changes. This hijacked file will not be checked in and it will not take the latest as well. Such type a hijacking needs to done with more care. this will helpful in con#ig #iles. 0. Shel(ing & unshel(ing " This is really a nice feature, which allows the person to put any #iles temporarily to the source control without making any check"in. This feature can be used in both good 1 bad ways 23 4. *abelling & +ranching " 5abelling is the feature generally used to make a source safe or to make the project to milestone. 5abelling can be used to notify the de elopment, 6! and other builds. 7ranching is the feature used to make a same copy of the project into more than one branch. we used branching for making different ersions of the project. Most important thing here is we ne er want to use merging unless 1 untill it is really needed. 8. Task & +ug " *reate task 1 bugs of the 6!, 9!T in the source control and associate the check"in with one or more task 1 bugs. This is will allows the manager to take the pro'ect report in (ery easier manner. This will also allows the user to check the file 1 changeset history. :. %hangeset & &istory compare " this is the really good feature which maintains the actual de elopment acti ities in a proper fashion. This is helpful in finding the right place of problems or bugs. This is also helpful for the managers to findout the right person in ol ed in the de elopment acti ity.

S-ar putea să vă placă și