How to unlock a file from someone else in Team Foundation Server

Here’s what I do in Visual Studio 2012 (Note: I have the TFS Power Tools installed so if you don’t see the described options you may need to install them. http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f ) If you are accessing the Source Control Explorer as a team project administrator (or at least someone with the “Undo other users’ changes” … Read more

How can I exclude a specific file from TFS source control

It’s easy in TFS2012, create a .tfignore file http://msdn.microsoft.com/en-us/library/tfs/ms245454%28v=vs.110%29.aspx#tfignore ###################################### # Ignore .cpp files in the ProjA sub-folder and all its subfolders ProjA\*.cpp # # Ignore .txt files in this folder \*.txt # # Ignore .xml files in this folder and all its sub-folders *.xml # # Ignore all files in the Temp sub-folder \Temp … Read more

Valid Parameters for MSDeploy via MSBuild

Here’s a list I’ve compiled for my own reference, along with some of the legal values that can be used. Note that these are passed into MSBuild using the /p:<PropertyName>=<Value> syntax. DeployOnBuild True False DeployTarget MsDeployPublish Package Configuration Name of a valid solution configuration CreatePackageOnPublish True False DeployIisAppPath <Web Site Name>/<Folder> MsDeployServiceUrl Location of MSDeploy … Read more

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