VS 2010 - Team Foundation Server 2010 Difference between GET and Check Out

Posted on 2014-04-02
Last Modified: 2014-04-02
Hi and thanks,

I am very new to VS & Team

I have looked at:

I don't understand most and need it more basic.  It only brings me to more questions. but will limit questions per post.

For this post my question is what is the difference between a GET and a CHECK OUT?

My understanding is a Get lastest version, is a way to get that package from the Team server and put it on your desktop so that you can do some work on it?
This raises a question?
If this is true then will it only download the package to my desktop and NOT effect anything on the Server???
Also: I am looking at extensions .dtsx, .cs, .csproj, .csproj.vspscc,
Which one should I do the GET (download) to: my guess is the .dtsx
would this be correct???

Does the Check Out only mark it on the Server so that others know that you have checked it out and are working on it???
And this is the only reason for the Check Out???

Thanks for any help....
Question by:Amour22015
  • 6
  • 5

Expert Comment

ID: 39972635
The Get allows you to download the most recent version of the code to your local system.  But in order for you to work on it you must do a Check Out which lets others know that project is currently be worked on by someone else.  When you check that back in it copies the file from your PC back to the server.  So the next time someone does the Get Latest, they are getting the copy of the file that you last updated.

Author Comment

ID: 39972726
I noticed that if I right click on lets say the .dtsx file it will not allow the Check Out (it is grayed out) option.  Yet the Get lastest Version is allowed (not grayed out).  So does this mean that you have to first do the Get option?

Can I work on it without doing the Check Out???

I want to be able to just do some training (to myself) without anyone saying that I checked it out.  This might make someone think that I checked out there job.  At this point I just want to get to know with hands on to ramdomly download a job and look at it or even mess it up without anyone knowing.  So later when I do get a real job I can knowingly go get it and work on it.


Expert Comment

ID: 39972759
Not sure why you can't check out the dtsx file, maybe its a setting in TFS.

If you want to work on a file that is in TFS you have to check it out.  or you could make a copy of the project you want to work on and remove the TFS files (.suo and .vssscc files) so that you don't have to check it out.

Another option, but maybe not what you want if you don't want people to know your checking files out...which seems odd.  You can check out a file for edit do what ever you want and then instead of checking the file back in, you can select undo checkout which will undo all the changes you did and check the file back in.  But there will be a record that the file was checked out and checked in by you.  Unless otherwise configured, only one person can checkout a file at a time.

Author Comment

ID: 39972854
I guess that is why this is making me confused:

First you have to create a folder on your local desktop then:
I am understanding that I first have to make a workspace that points to that local drive.  in order to CHECK OUT the package? and that was why the option CHECK OUT is grayed out?

I guess I am totally confused...

Expert Comment

ID: 39973001
Yep you need a place for files, so the project/solution you want to download has a spot to copy to.  Then you get the latest version of the code which downloads a local copy to your system for you to be able to edit.  But you must check out the specific file(s) before you can make edits.  Then as I said before, once you check in the file it copies your local file to the server so when others get latest, they are getting the most recent update that you made.  If you don't have the file paths setup, that's probably why its greyed out.  You may want to check with your local TFS admin to make sure you have the rights to edit the file(s) too.

Author Comment

ID: 39973115
I noticed that after I right clicked and did a GET Latest Version, I was allowed to then right click and select CHECK OUT (it is not grayed out anymore)

So you do have to first Get then Check out...
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

LVL 74

Expert Comment

by:käµfm³d 👽
ID: 39973162 will not allow the Check Out (it is grayed out)
Check with the project administrator (i.e. the TFS project admin) and ensure you have permission to modify the project. Also check that there are no locks on the file. You can place a lock on a file (or files) that prevent others from checking them out. The person who placed the lock would have to remove it.

Author Comment

ID: 39973187
So I was able download (I think) and I did these steps:

Right click the project and select GET Latest Verision


Right click the project and select Check Out

and I am know guessing (that is why I mentioned (I think)) that the project is on my local drive.

Thanks for any help

Expert Comment

ID: 39973197
Yep so now you have the project checked out to yourself.  If you make any edits and check it back in, then those edits will be saved to the files on the server for the next person to download.  Or you can not edit and check back in, or undo check out and nothing will new will be saved.

Author Comment

ID: 39973213
So let me get this correct.

1.) I can now go to my local drive (were the Check Out was placed locally)

2.) Bring this project into my Solution Explorer

3.) work on it, mess it up, all etc...

4.) right click, select "Undo Pending Changes"

and it will not effect anything???


Accepted Solution

dustock earned 250 total points
ID: 39973383
Yep sounds like you have it

Just remember though, you have created the working folder/directory for the project on your local drive which downloaded the project from the files on the server.  When you do the get latest, it is updating you local copy.  No matter what the status is (checked in or checked out) that local copy will always remain.  And yes as long as you select Undo Pending Changes it will not update the server with anything and your local file will go back to what it was like before you messed it up.

Author Closing Comment

ID: 39973392
Great thanks

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem with SqlConnection 5 117
Data Saving 5 36
Form design in 7 20
cs.Designer Issue 2 18
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now