2

I'm using Visual studio 2012?

I can't find current changeset number of my solution in team foundation server.

How to know which version of code is running in my solution?

Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
  • I don't think it's something you can readily do given the fact each file / folder can be on a different version and that each file is only given a new version when you change it. TBH it's not something I have needed to do in 2 years working in TFS. – DaveShaw Aug 11 '14 at 06:35
  • possible duplicate of [Using TFS TF History to determine the latest changeset](http://stackoverflow.com/questions/10338149/using-tfs-tf-history-to-determine-the-latest-changeset) – Edward Thomson Aug 11 '14 at 11:50

2 Answers2

0

In solution explorer, right click on the root node for your solution, then select View History.

view history

the latest changeset will be shown on the right

history

Just TFS
  • 4,697
  • 1
  • 18
  • 22
  • The question is not about how to get a specific revision. Its about how to know the revision number that he is currently working with. – arun8 Jul 19 '16 at 16:16
0
tf history . /r /noprompt /stopafter:1 /version:W

abbreviated version:
tf hist . /r /noprompt /stopafter:1 /v:w

See: https://blogs.msdn.microsoft.com/buckh/2009/01/26/how-to-determine-the-latest-changeset-in-your-workspace/

Josh
  • 2,142
  • 2
  • 23
  • 20