How can I automatically enable a VSIX extension, when installing?

别来无恙 提交于 2019-12-06 11:09:39

If you install your extension files to a directory you create under %VSInstallDir%\Common7\IDE\Extensions, it will be enabled automatically for all users. This is the recommendation for MSI-installed extensions.

Also, please be sure to add <InstalledByMsi>true</InstalledByMsi> to your vsixmanifest.

There is no need to run VSIXInstaller.exe or write registry keys to enable your extension (In fact, you really shouldn't do this.).

Use "VSIXInstaller.exe" tool from VS2010\Common7\IDE.

Also you can manually enable your extension by adding registry value to HKCU\Software\Microsoft\VisualStudio\10.0Exp\ExtensionManager\EnabledExtensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!