<p>Around here we have been working with a bunch of Visual Source Safe repositories for about 10 years or so. </p>

<p>Now I want to get rid of sourcesafe and move on to Team Foundation Server.</p>

<p>Do you have any tips or tricks for me before I embark on this migration? What are the things I have to be careful about? </p>

<p>I am sure this migration will mean that our working habits have to be modified in some way. Do you think that these changes could be a problem for the organization? Think about a group of about 20 .NET developers in a single site.</p>

[{'answer_id': 29854, 'author': 'deadtime', 'author_id': 614, 'author_profile': 'https://Stackoverflow.com/users/614', 'pm_score': 3, 'selected': True, 'text': '<p>I just googled, but <a href="http://msdn.microsoft.com/en-us/library/ms181247(VS.80).aspx" rel="nofollow noreferrer">this walkthrough</a> seems like a good reference, and it mentions the tool VSSConverter which should help you make the migration as painless as possible.</p>\n\n<p>I would like to recommend one thing though: Backup. Backup everything before you do this. Should anything go wrong it\'s better to be safe than sorry.</p>\n\n<p>My links aren\'t showing up. This is the address: <a href="http://msdn.microsoft.com/en-us/library/ms181247(VS.80).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ms181247(VS.80).aspx</a></p>\n'}, {'answer_id': 30816, 'author': 'Guy Starbuck', 'author_id': 2194, 'author_profile': 'https://Stackoverflow.com/users/2194', 'pm_score': 4, 'selected': False, 'text': '<p>There are a few different ways you can migrate.  The tool will pull your history, etc. over, but the more pragmatic and simple way is to lock VSS as a history archive and start fresh:</p>\n\n<ol>\n<li>Have everyone check in all changes into VSS, make sure everything builds, etc.</li>\n<li>Set all VSS databases to "locked" (read-only rights for all users) </li>\n<li>Get Latest on the entire VSS database into a "clean" set of folders on a workstation </li>\n<li>Check all of the files into TFS from the workstation</li>\n</ol>\n\n<p>For any history prior to the conversion, folks need to go to VSS, but after a week or two it\'s realistically unlikely to happen all that often.  And you know that the history in VSS is accurate and not corrupted by the conversion process.</p>\n'}, {'answer_id': 30890, 'author': 'Phillip Wells', 'author_id': 3012, 'author_profile': 'https://Stackoverflow.com/users/3012', 'pm_score': 3, 'selected': False, 'text': '<p>Be aware that TFS does not support sharing files between different projects, as VSS does. If you have any such shared files the link between them will be broken during the migration, resulting in initially identical, but now distinct files in each project. Updates to one of these files in TFS will no longer propagate to the copies in the other projects.</p>\n'}, {'answer_id': 30917, 'author': 'Dale Ragan', 'author_id': 1117, 'author_profile': 'https://Stackoverflow.com/users/1117', 'pm_score': 2, 'selected': False, 'text': '<p>We are currently in the process of doing this at my day job.  We are actually making the switch over in about a month.  I am a main part of the migration and a big part of why we are getting off of SourceSafe.  To help in the migration, I used the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c7a809d8-8c9f-439f-8147-948bc6957812&amp;displaylang=en" rel="nofollow noreferrer">Visual Studio® Team System 2008 Team Foundation Server and Team Suite VPC Image</a>.  It was very useful.  Right off the bat, the image contains a full working TFS installation for you to play and demo with.  It also includes Hands on Labs and one of the labs is running the VSS -> TFS migration tool.  If you have an MSDN subscription, once you have played with the image, the next step would be to install the TFS Small Team edition that comes with your subscription.</p>\n\n<p>One thing to note is to make sure you get the latest Service Packs for Visual Studio 2008 and the .NET Framework installed on the image.  The service packs fixed some annoying bugs and it definately increased the usability of the system.  We have a farely large SourceSafe database with about 90+ projects and the migration tool took about 32 hours to complete.  First I made a backup of our sourcesafe database for testing.  Then I made the migration on the test sourcesafe database.  Afterwards, I checked the source tree in TFS and everything transferred fine.  We kept all the history for our source files from VSS which was great.  No need to keep that stinking VSS database around after we go live.</p>\n\n<p>We are taking the migration in steps.  First the source control and letting our developers get use to using it.  Then after that we will be migrating the QA and Business Analysts over to use the Work Item tracking features.</p>\n\n<p>My advice is to take the migration in steps.  Don\'t do too much at one time.  Give time for people who will be using the system to train up.</p>\n'}, {'answer_id': 48454, 'author': 'fuzzbone', 'author_id': 5027, 'author_profile': 'https://Stackoverflow.com/users/5027', 'pm_score': 1, 'selected': False, 'text': '<p>Good guidance there from my former colleage Guy Starbuck.  Another thing to add with that approach - you may have decided over time that you want to refactor the way your application is organized (folders etc) and this will give you an oppurtunity to do so.</p>\n\n<p>I\'ve been in situations where we organized a solution haphazardly without thought (let alone major changes in the application) which led to a desire to organize things differently - and the move from VSS to TFS is a great oppurtunity to do so.</p>\n\n<p>As far as the original question:</p>\n\n<blockquote>\n  <p>And: this migration will for sure mean that our working habits have to be modified in some way. Do you think that this changes could be a problem for the organization? Think to a group of about 20 .net developers, in a single site</p>\n</blockquote>\n\n<p>I would say - yes your working habits will change but much more for the better.</p>\n\n<ol>\n<li>You no should use "Check-out" Locks and "Get-Latest on Check-out".  </li>\n<li>You can now effectively Branch and Merge</li>\n<li>You will now have "Changesets" all files checked-in at the same time will be grouped together.  This makes historical change tracking much easier - but more importantly - rollbacks are much easier (ie find all files checked in at the same time and roll them back)</li>\n<li>Associating Check-ins to Work Items.  Don\'t overlook Work Items!  The biggest mistake you can make is to only use TFS as a VSS replacement.  The Build and Project Management features are excellent - you paid for them  - USE THEM!</li>\n</ol>\n\n<p>As far as details on how your experience will change, another former colleague of mine (and Team System MVP) Steve St. Jean wrote a detailed article on the differences: <a href="http://sstjean.blogspot.com/2006/10/document-from-vss-to-tfs-introduction.html" rel="nofollow noreferrer">From VSS to TFS</a></p>\n'}, {'answer_id': 70008, 'author': 'granth', 'author_id': 11210, 'author_profile': 'https://Stackoverflow.com/users/11210', 'pm_score': 3, 'selected': False, 'text': '<p>If you do choose to use the VSSConverter.exe tool that ships with Visual Studio Team Foundation Server, then you should install <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9E40A5B6-DA41-43A2-A06D-3CEE196BFE3D&amp;displaylang=en" rel="nofollow noreferrer">TFS 2008 SP1</a> first as it includes a number of improvements as detailed <a href="http://blogs.msdn.com/tfs_migration/archive/2008/09/08/improved-vss-converter-available-with-tfs-sp1.aspx" rel="nofollow noreferrer">on this blog by the migration tools team</a>.</p>\n\n<blockquote>\n  <p>Some of the key features of the\n  release include:</p>\n  \n  <p><strong>Elimination of namespace conflicts</strong>.  I\n  previously blogged about this as "the\n  rename problem" and we have fixed the\n  converter to correctly migrate files\n  with overlapping namespaces.  This was\n  the biggest pain point for most users\n  trying to use previous versions of the\n  tool.</p>\n  \n  <p><strong>Automatic solution rebinding.</strong> \n  In this latest version, VS solution\n  files will be automatically upgraded\n  to the 9.0 version and checked back in\n  to version control.  Previously users\n  were required to do this manually. </p>\n  \n  <p><strong>Correcting of timestamp\n  inconsistencies</strong>.  The use of client\n  timestamps by VSS can lead to\n  revisions being recorded in the\n  opposite order that they actually\n  occurred in.  The tool now recognizes\n  this issue and continues migrating\n  changes where it would previously\n  fail.</p>\n  \n  <p><strong>Improved logging</strong>.  Although\n  we\'ve fixed a lot of issues, providing\n  better, more detailed logging will\n  help users that do run into issues\n  diagnose the problems.</p>\n</blockquote>\n'}, {'answer_id': 374631, 'author': 'RichB', 'author_id': 47056, 'author_profile': 'https://Stackoverflow.com/users/47056', 'pm_score': 2, 'selected': False, 'text': '<p>VSS Converter is a far from perfect solution. And there are significant differences between the 2005 and the 2008SP1 version of the converter.</p>\n\n<p>For example, in a VSS DB that\'s been in use for a long time, there will have been a large number of users contributing to VSS. Many of these users will have left the organisation a long time ago and therefore will no longer have domain accounts. TFS requires mapping VSS users to domain accounts, so you will have to decide whether you map old users to a single \'dummy\' domain account or to a current team member.</p>\n\n<p>In addition, VSS Converter 2008 requires these domain accounts to be valid TFS accounts. Whereas the 2005 converter does not enforce this.</p>\n\n<p>If your VSS history contains significant folder Moves, then it\'s likely you will loose all history before this Move. For example, if you Move a folder to a new location, then Delete the previous parent, you will loose all history. See this article for more explanation:\n<a href="http://msdn.microsoft.com/en-us/library/ms253166.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ms253166.aspx</a></p>\n\n<p>In one migration I was involved with, we had a 10 year old VSS database that lost all history prior to 6 months ago. This was due to a significant tidy up that took place 6 months ago.</p>\n'}, {'answer_id': 31700059, 'author': 'Tiago André', 'author_id': 2742604, 'author_profile': 'https://Stackoverflow.com/users/2742604', 'pm_score': 2, 'selected': False, 'text': '<p><a href="https://visualstudiogallery.msdn.microsoft.com/867f310a-db30-4228-bbad-7b9af0089282" rel="nofollow">TFS conversion tool</a> &lt;-- Use this</p>\n\n<p>I\'ve used this tool for some times already, the results are pretty satisfatory as it comes with the history of changesets from SourceSafe if you desire too.</p>\n\n<p>Anyway, using this tool you should always pay attention to errors and warnings in the log, and check if everything built okay / passed okay.</p>\n\n<p>It\'s recomended to also run an Analysis on SS before running this.</p>\n\n<p>Hope it helps</p>\n'}]
['https://Stackoverflow.com/questions/29838', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1178/']