Migrating VSS to TFS

Using the VSSConverter tool you can import source code including revision history from Visual SourceSafe into Team Foundation Server. The thing to do is first run the tool in analyze mode which will scan your VSS repository for problems and also generate a user mapping file that will come in handy later on.

First, you need a settings.xml file. If you’re not too happy with doing xml-in-notepad configuration, there is a GUI tool to help you out. The format isn’t too hard so I went ahead and created it by hand and came up with something like this:

<?xml version=”1.0″ encoding=”utf-8″ ?>
<SourceControlConverter>
     <ConverterSpecificSetting>
       <Source name=”VSS>
        <VSSDatabase name=”C:\path-to-vss-repository />
        <UserMap name=”Usermap.xml />
       <SQL Server=”your-existing-sqlserver />
  </Source>
       <ProjectMap>
        <Project Source=”$/ProjectX Destination=”$/ProjectX />
  </ProjectMap>
 
</ConverterSpecificSetting>
     <Settings>
      <TeamFoundationServer name=”tfs-server port=”8080 protocol=”http />
      <Output file=”MigrationReport.xml />
  </Settings>
</SourceControlConverter>

By default VSSConverter wants to use SQLExpress during import. Adding the SQL element I was able to use my existing SQL Server. So with this stuff in place, the analyze mode gave me some warnings (luckily no errors) about shared files not being supported in TFS and that these would end up as independent copies. I’m fine with that but if you’re heavily relying on shared files in VSS you probably need to think twice before migrating.

Quite jolly after a successful analyze I went ahead to do the actuall migration. First, I quickly edited the Usermap.xml file to map VSS users to Windows users. Then, I was hoping that my initial 

<Project Source=”$/ Destination=”$/ />

would work and that VSSConverter created a Team Project for each root project in my repository. But nooo. If you want separate Team projects for each top-level folder in VSS you must create these manually through the Team Explorer and then put up a Project element in the settings file for each project.

I actually had a couple of projects in VSS that I wanted to migrate into the same Team project. So I created ProjectX in TFS and imported ProjectY. So far so good. Next I tried to import ProjectZ into ProjectX and got error TF60099 slammed in my face. Seems that VSSConverter remembers the first project paths in order to do an incremental import later on, and refused to import a different VSS project. Given this tip I solved the problem by creating a sub-folder in ProjectX and configured my import like this:

<Project Source=”$/ProjectZ Destination=”$/ProjectX/ProjectZ />.

And that was it, actually. Goodby Visual SourceSafe. Good riddance, I’d say.

Share

Xbox Live Marketplace had nothing to do with it

…as I previously assumed. The download list update “slowness” was actually filtering caused by Parental Controls enabled on the console. Unrated content will be hidden. XNA Creators Club does not have any control on what code will be executed on the xbox. So the XNACC download is marked Unrated and thus hidden.

Michael, Program Manager for XNA Game Studio, and PatrickB3 probably knew this all along, they just wouldn’t tell me until right before Christmas. Turning off Parental Control on my console solved the mystery.

Share

Xbox Live Marketplace updates come slow

Yes, it seems that everything that gets added to the Xbox Live Marketplace doesn’t show up on my xbox until several days after release. XNA Creators Club is no exception. I was hoping to see my rotating greenish wired sphere in glorious 720p on 40″ LCD… guess I’ll just have to wait.

Update: after some postings on the forum, Michael Clucher and his XNA Team is now looking into the issue. I’ll keep you posted with the progress.

Share

XNA Game Studio Express launched?!

Now we know there’s a launch party going on over at Microsoft campus, Redmond. Does that mean we’ll get the released product today also? I certainly hope so. And my hope was rekindled when the download center listed both the XNA Framework Redistributable 1.0 and XNA Game Studio Express 1.0.Guess who’s downloading as we speak!

…my, this is so fresh, even the XNA Developer Center nor the XNA Team blog is updated with the news.

Update: now they’ve done it. Congratulations to the xna dev team, I’m truly looking forward to the times to come!

Share