Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 888
Sam Avatar asked Jan 16 '14 22:01

Sam


People also ask

Do you need admin rights to install Chrome extensions?

You need administrative rights to restrict a user's ability to install or run extensions in Chrome.

How do I enable extensions in Visual Studio code?

You can browse and install extensions from within VS Code. Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of VS Code or the View: Extensions command (Ctrl+Shift+X). This will show you a list of the most popular VS Code extensions on the VS Code Marketplace.

How do I install a VSIX file?

vsix files may be available in locations other than Visual Studio Marketplace. The Extensions > Manage Extensions dialog box can't detect these files, but you can install a . vsix file by double-clicking the file or selecting the file and pressing Enter. After that, just follow the instructions.


1 Answers

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
like image 171
Sergey Vlasov Avatar answered Sep 21 '22 23:09

Sergey Vlasov