locked
How to Get Full Version withDTE object RRS feed

  • Question

  • In my package,i want't get full version and product name of visual studio,but DTE have properties is version only show main version (ex:11.0) , not full version,and don't have info as "Microsoft Visual Studio 2012 RC" ... Please help me get full version and product name with DTE object

    My English is not good,sorry

    Thanks and Regard

    Tuesday, July 31, 2012 11:18 AM

Answers

  • You can't via DTE, but VSSPROPID_ReleaseVersion will get you the same string that is shown in Help->About, though you would have to do some parsing on it.

    edit: Actually, that property in 2012+ only, so it likely won't help. I don't believe it is exposed in any way pre-2012 except DTE.Version, which just returns the major/minor version.

    Ryan


    Tuesday, July 31, 2012 11:25 PM

All replies

  • You can't via DTE, but VSSPROPID_ReleaseVersion will get you the same string that is shown in Help->About, though you would have to do some parsing on it.

    edit: Actually, that property in 2012+ only, so it likely won't help. I don't believe it is exposed in any way pre-2012 except DTE.Version, which just returns the major/minor version.

    Ryan


    Tuesday, July 31, 2012 11:25 PM
  • Hi Thinh,

    I will mark ryan's reply as answer.

    Please unmark it, if it is not the answer.

    Thank you for your understanding and support.

    Best regards,


    Ego [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, August 9, 2012 12:54 AM