Checking the version of Visual Studio

Right now I have three versions of my package for 2002, 2003 and 2005. I'd like to have just one dll and detect the version of Visual Studio. Is this possible


Answer this question

Checking the version of Visual Studio

  • SteveJB

    Use DTE.Version property. For example, for VS 2002 it returns "7.00".

  • Checking the version of Visual Studio