How can I install an extension so that all users can access it?

纵饮孤独 提交于 2019-12-30 02:09:22

问题


Installing extensions in the last few versions of Visual Studio seems easy. However, as far as I understand, they are only installed for the user running the program.

How can an administrator install an extension system-wide so that it is available to all users in Visual Studio?

I'm aware that a small portion of extensions are provided as installers that install the extensions for all users, however, most extensions seem to be provided as VSIX files.


回答1:


VSIXInstaller.exe has the /admin switch that should install an extension for all users.

You can to find and download the needed extension on https://marketplace.visualstudio.com/ and call the VSIXInstaller.exe. For example:

VSIXInstaller.exe /admin path_to_the_vsix.vsix


来源:https://stackoverflow.com/questions/21174656/how-can-i-install-an-extension-so-that-all-users-can-access-it

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