Is there a way to get Get Latest in TFS to behave like the Get Specific Version of the last check

Whenever I Get Latest from TFS 2012 in Visual Studio. This is actually not the last. what he does is update the solution file so that new things added by my teammates appear with a warning sign, so say that he is not there.

FFS I DIDN'T ASK TFS TO RECEIVE IT FOR ME!

TFS seems to make life unnecessarily complicated by deciding, based on some strange rules that I don’t know what I’m asking for, and will give me what he thinks is right.

As far as I know, if the file was modified, since the last time I received it from the GET IT server! THIS CHANGED. Why source

In any case, I wonder if there is a way to add a context menu command that will run the Get Specific Version last check?

This would save me some unsuccessful builds and clicks and just annoy the TFS version control system in general.

+4
source share
4 answers

When you select Get Latest in the solution, it will receive the latest solution. It will not receive new elements that have been added to the solution on the server.

Instead, open Source Control Explorer and run Get Latest in the folder containing this solution. This will get everything, solution file, new files, etc.

As for this, I can only assume: Visual Studio solutions do not use the strict file system format, and you can place elements on my file system in the solution. Therefore, when you select Get Latest for a solution, the TFS provider will identify every element of your solution that is also in TFS and run Get Latest on these paths. In this case, new elements will be excluded (since their paths were not specified in get.)

New elements will be included if you had to do Get Latest on the paths themselves or in the folder that contains them, however you cannot know where these new elements are located until you have already accessed the solution file.

So, if your solutions are configured in such a way that all the elements are contained in one single directory (most of them, of course, are), then the easiest way is to use Get Latest from Version Control Explorer.

+7
source

the option is built in here: rightclick β†’ advanced β†’ get a specific version

report http://hamidshahid.blogspot.co.uk/2012/12/get-specific-version-in-visual-studio.html

0
source

I know this question passed it by date. But getting the latest concrete MOSTLES solves the problems here in this area.

You must Righ Click your sln File Go to SourceControl Click Get Specific Version

Make sure you select the two check boxes rewrite everything.

-1
source

In TFS 2012, right-click the project name, hover over "Advanced" and click "Get a specific version ..."

This answer is a bit late, but for Peter the teams do not match. One of them is "Get the latest version," and the other is "Get a specific version ...".

The real problem here is: "Get the latest version" doesn't get the latest version (odd, but true).

In terms of software development, why is easy. The project manager reviewed the requirements, analysis, code, and tests of these two menu options and said, β€œGood!”

It is also hard to understand. Who was this man? The good news is that we can learn from other mistakes or other obscure mistakes.

-2
source

All Articles