Why doesn’t TFS get latest get the latest?

TFS redefined what “Get Latest” does. In TFS terms, Get Latest means get the latest version of the files, but ignore the ones that the server thinks is already in your workspace. Which to me and just about everyone else on the planet is wrong. See this link: http://blogs.microsoft.co.il/blogs/srlteam/archive/2009/04/13/how-get-latest-version-really-works.aspx The only way to get it … Read more

How to get tf.exe (TFS command line client)?

You need to install Team Explorer, it’s best to install the version of Team Explorer that matches the version of TFS you are using e.g. if you’re using TFS 2010 then install Team Explorer 2010. 2012 version http://www.microsoft.com/en-gb/download/details.aspx?id=30656 2013 version http://www.microsoft.com/en-us/download/details.aspx?id=40776 2019 version https://visualstudio.microsoft.com/downloads/#visual-studio-team-explorer-2019 You also might be interested in the TFS power tools. They … Read more

How can I always block checkin of a specific file in TFS

One of TFS undervalued features is cloaking. Like SVN’s ignore, cloaking will let you ignore a certain folder or files. Cloaking a Folder Cloaking a folder is easy: just right click a folder on the source control explorer and select Cloak Cloaking a File The UI doesn’t expose cloaking on a single file, but sometimes … Read more

Get TFS to ignore my packages folder

Here’s the deal: We have to tell both NuGet and TFS to ignore the packages, because NuGet is trying to do source-control related stuff that it absolutely shouldn’t be doing (bad form, Microsoft!). So you have to do two things. First, add a file named .tfignore to the solution folder (note the lack of s … Read more