26 August, 2009

VSS: Disabling the annoying .root folder in Visual SourceSafe

Using VSS 2005 for projects of more private character, I’ve been annoyed completely by VSS’s notion of creating it’s own “root-folder” (<projectname>.root) in projects in VSS. The consequence is that there is not a 1:1 match between VSS and your harddisk. And this is really a thing that is nice to have when managing projects.

Luckily it can be quite easy disabled (after having googled the matter!):

You need to go into registry and change this key: 
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\SourceControl] "DoNotCreateSolutionRootFolderInSourceControl"=dword:00000001

Change the value 0 –> 1.

You do not need to restart anything. VSS will pick it up next time you add a solution to it.

No comments: