Reputation: 144
How can I get a list of all installed Visual Studio extensions programatically? Also, is it possible to detect if a specific extension is already installed?
Upvotes: 1
Views: 547
Reputation: 27940
See IVsExtensionManager.GetInstalledExtensions. You can get an ExtensionManager instance with Package.GetGlobalService(typeof(SVsExtensionManager)) as IVsExtensionManager.
Upvotes: 3