Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install extension for Visual Studio Community 2015 using .vsix file

I've been trying to install an extension for visual Studio Community 2015 using a .vsix file. When I double-click it, nothing happens. I've also tried opening it with "Visual Studio Version Selector" using "Open With..", but even then nothing happens.

After some searching, I found that the .vsix file can also be installed using Developer Command Prompt for VS2015, but even that didn't help.

Initially I thought that maybe the extension is faulty, but the same thing happens if try to install any other .vsix extension.

Note: The extensions that I have tried to installing are UnrealVS.vsix and Roslyn_SDK.vsix

like image 724
x.projekt Avatar asked Jan 08 '23 18:01

x.projekt


1 Answers

This seems to be a common issue, as the standard double click operation over a VSIX file in the File Explorer will fail to install ANY Visual Studio 2015 .vsix extension. It appears that this operation requires administrative permissions. The issue here is that it is not possible to indicate to "install as administrator".

The only way to install the extension was executing the VSIXInstaller.exe using a CMD Window as Administrator and passing the VSIX file as parameters. The procedure I used was:

  1. Open a CMD Window as Administrator
  2. Go to Common7\IDE folder of your VS 2015 installation:

    CD C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
    
  3. Execute the installer passing your VSIX file name as parameter:

    VSIXInstaller.exe c:\YourVSIXFile.
    
  4. The installer should now start the installation process for your VSIX extension. Hope this helps

like image 100
PeteZaria Avatar answered May 12 '23 09:05

PeteZaria