Question

I am looking for an addin that will allow me to click a button on the VS toolbar and the following actions should happen.

  1. On the highlighted project/folder/item from either Source Control Explorer or Solution Explorer, do a 'Get Specific Version'
  2. Click those 2 checkboxes, hit the 'Get' button on that dialog

alt text http://img367.imageshack.us/img367/9162/getspecificversionyp9.jpg

As I find myself doing this so often (I trust it more than the usual 'Get Latest version'), I wanted to see anyone else has already thought about this. If not, I am going to have to write an VS addin myself.

Was it helpful?

Solution

I assume that you just want to make sure developers are starting their changes on the most recent version?

If that is the case, and you are using VSTS 2008 and TFS 2008, then using the "Get Latest Version on Checkout" setting of both is probably your answer, if you aren't then the "CheckOut and Get Latest Version" is what you investigate. (note, if you are using VSTS 2008 and TFS 2005, you'll need to do the compile yourself, see the notes at the bottom of the home page)

Buck Hodges has a post why this wasn't built into 2005 and isn't the default action in 2008.

OTHER TIPS

Not the answer to your question, but why do you find you are needing to do a Get Specific all the time? Are you editing or deleting files locally outside of Visual Studio without check-ing the files out first?

If you have both of these options checked then you will be downloading all the latest versions of the files every time you do a get latest - which isn't going to give you optimal performance.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top