Delete Local Folder in TFS

This is an older post, but since the only given answer seems “not entirely correct” to me I’d like to answer anyway: I blogged about this (in german) here: blog.nils-andresen.de If you have a local copy, that you want to un-get or un-download like this: simply right-click the folder and then click “Get Specific Version” … Read more

Team Build Error: The Path … is already mapped to workspace

Use the command line utility TF – Team Foundation Version Control Tool (tf). You can get a list of all workspaces by bringing up a Visual Studio Command Prompt then changing to your workspace folder and issuing the following commands: C:\YourWorkspaceFolder>tf workspaces /owner:* You should see your problem workspace in the list as well as … 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 can I completely remove TFS Bindings

File -> Source Control -> Advanced -> Change Source Control and then unbind and/or disconnect all projects and the solution. This should remove all bindings from the solution and project files. (After this you can switch the SCC provider in Tools -> Options -> Source Control -> Plug-in Selection). The SCC specification prescribes that all … Read more

How to ignore files/directories in TFS for avoiding them to go to central source repository?

If you’re using local workspaces (TFS 2012+) you can now use the .tfignore file to exclude local folders and files from being checked in. If you add that file to source control you can ensure others on your team share the same exclusion settings. Full details on MSDN – http://msdn.microsoft.com/en-us/library/ms245454.aspx#tfignore For the lazy: You can … Read more

What is Shelving in TFS?

Shelving has many uses. The main ones are: Context Switching: Saving the work on your current task so you can switch to another high priority task. Say you’re working on a new feature, minding your own business, when your boss runs in and says “Ahhh! Bug Bug Bug!” and you have to drop your current … 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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)