Check Windows Phone SDK 8 and SDK 8.1 installed in a machine by programmatically RRS feed

  • Question

  • Hi,

    I would like to know whether Windows Phone SDK 8.0 and Windows Phone SDK 8.1 are installed in a machine or not by programmatically using C#.

    Can anyone share the solution for checking the above mentioned requirement?

    Thanks in advance,
    Friday, October 17, 2014 10:31 AM


  • The SDKs are VS extensions in the newer versions of VS.  Since they are extensions they are installed per-VS instance rather than globally to the system.  As such you would first need to identify the version of VS you want to check.  Once you have that info you can query for the extensions.  Given the DTE for the version of VS you care about you can use IVsExtensionManager to get access to the installed extensions.  Note that an extension can be installed but disabled.

    Michael Taylor

    • Marked as answer by Caillen Tuesday, October 28, 2014 9:34 AM
    Friday, October 17, 2014 3:21 PM