Showing posts with label TFS. Show all posts
Showing posts with label TFS. Show all posts

2012-09-07

TFS: what to do when someone in company leaves or their PC dies?

The title is self-explaning :)

cd C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
tf workspace /delete workspace;mydomain\myuser /s:http://server:port/tfs_instance_name
 

A deleted workspace cannot be recovered.
Workspace 'workspace;mydomain\myuser' on server 'http://server:port/tfs_instance_name' has 32 pending change(s).
Are you sure you want to delete the workspace? (Yes/No) y

Typically the workspace has the same name as your machine.

Note: this is basically a repost from my previous blog.

Windows Azure Emulator with Microsoft Source Control

It appears that the Windows Azure emulator that comes with Windows Azure SDK doesn't like services with the Web.config file with the read-only attribute. It happens that that's exactly what SourceSafe and TFS do when a file is not checked-out. Do these guys work in the same company? Or does the Azure team use Subversion and git? ;)

Note: this is basically a repost from my previous blog.

Death to the .user!

A couple months ago, one of my VS solutions would just crash with a specific project. After a couple of hours, I've found the solution: close Visual Studio, delete all the "*.csproj.user" files, and reload the solution. My theory is that this was caused by TFS merges, since this solution had a few dozen projects and was frequently updated by various users, which in turn caused frequent conflicts. It's no wonder that these files are listed in .gitignore.

Note: this is basically a repost from my previous blog.