Reputation: 597
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
Upvotes: 4
Views: 7884
Reputation: 498
I had this issue before and the only way I was able to install extensions is by using the following steps:
This will download and install the extension cleanly for you. some of the extensions will take you to page where you download the .vsix which you have to install it as the other comments describe.
Upvotes: 1
Reputation: 332
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:
Go to Common7\IDE folder of your VS 2015 installation:
CD C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
Execute the installer passing your VSIX file name as parameter:
VSIXInstaller.exe c:\YourVSIXFile.
The installer should now start the installation process for your VSIX extension. Hope this helps
Upvotes: 9
Reputation: 597
I don't know why it happened at the first place. But the problem was fixed after I reinstalled visual studio 2015 community.
Thank you all for your suggestions.
Upvotes: 0
Reputation: 133
Try to unzip the .vsix file and have a look of the vsixmanifest see the InstallationTarget supports 14.0 or not.
If no add InstallationTarget Version="14.0" Id="Microsoft.VisualStudio.Community"
Upvotes: 1
Reputation: 27940
Normally, .vsix is associated with VSIXInstaller. By default it is located at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe
Upvotes: 1