Migrating a project to VS 2008

I just finished migrating a project from VS 2005 to VS 2008. I’m glad to say that the process went pretty well. No road bumps at all.

I followed the steps below in order to perform the migration:

  1. All developers have checked in their code.
  2. I’ve wiped out my workspace.
  3. Got latest on everything.
  4. Ran all unit and integration tests in the solution.
  5. Wrote down the results of the tests.
  6. Ran some quick smoke tests.
  7. Ran a "check-in build", which is a more restrict build (it runs code analysis, among other things).
  8. Wrote down the results of the check-in build.
  9. Labeled files on TFS ("Last VS 2005 build"), just in case I have to roll it back at some point.
  10. Open the solution in VS 2008 and went through the conversion wizard. Absolutely no errors or warnings were reported.
  11. Built the source code. Didn’t get any error or warning.
  12. Ran all the tests and compared the results to the run in VS 2005. Everything went well.
  13. Ran some quick smoke tests. Everything went well.
  14. Ran a check-in build. No surprises here, but more on this later.
  15. Checked in everything, and oriented the other developers to:
    1. Wipe out the source code in their local folder;
    2. Open the solution using by double-clicking the solution file in Source Control Explorer;
    3. Build it and run it.

The core of this process really didn’t take more than 50 minutes.

Now a word regarding code analysis:

In VS 2005, the Error List window had a limitation where it could only display up to 200 hundred rows. If Code Analysis reported more than that, the build would fail, and an error message would say that there’s more warnings than what the Error List is capable of displaying. In VS 2008, that limitation is gone, so at the end of building the converted source code, I’ve ended up with 13000 code analysis warnings!

This project has a bunch of warnings like that because a big chunk of the code comes from a migration from Visual FoxPro code, and that code violates all sorts of naming convention rules. There’s no way we’re going to fix those names, so we’ve been just supressing those messages. We had done that before, but apparently the new build in VS 2008 didn’t find those suppressions, so now I’m going through the list supressing those violations again.

So, overall I’m pretty happy about how smooth the conversion process went.

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: