Question: DTE.Version = "7.00" for VS.NET 2002, "7.10" for VS.NET 2003,… which are the next values in the series for VS 2005 and VS 2008?

You would say that they should be “8.00” for VS 2005 and “9.00” for VS 2008, but somehow Microsoft changed the pattern and the actual results are “8.0” for VS 2005 and “9.0” for VS 2008. I found a bug today in the code for the next version of my MZ-Tools add-in because of this change… An unnecessary change, I would say.

So, for VS.NET 2002, VS.NET 2003, VS 2005 and VS 2008 we have respectively:

  • For DTE.Version: “7.00”, “7.10”, “8.0”, “9.0”
  • For DTE ProgIDs: “VisualStudio.DTE.7”, “VisualStudio.DTE.7.1”, “VisualStudio.DTE.8.0”, “VisualStudio.DTE.9.0”

Did you notice the inconsistencies in the trailing digits at some point in the sequences?

And if you thought that at least the significant digits make sense, drum roll please:

  • For the solution format inside the .sln file: “7.00” for VS.NET 2002, “8.00” for VS.NET 2003 (!), “9.00” for VS 2005 (!!) and “10.00” for VS 2008 (!!!)…