Jakub Bielawa
Jakub Bielawa

Reputation: 144

Visual Studio SDK - How to detect installed extensions programatically?

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

Answers (1)

Sergey Vlasov
Sergey Vlasov

Reputation: 27940

See IVsExtensionManager.GetInstalledExtensions. You can get an ExtensionManager instance with Package.GetGlobalService(typeof(SVsExtensionManager)) as IVsExtensionManager.

Upvotes: 3

Related Questions