简体   繁体   中英

Cannot install .Vsix package

I have troubles with .vsix installation.

If I launch the .vsix from the explorer, instead of suggesting me to install the package, I get the same ouput as Vsixintaller.exe /? (it displays the command line usage).

I also tried to run the following command line :

VSIXInstaller.exe /skuname:Pro "fullpathto\\NuGet.Tools.vsix"

Same output (command line usage is displayed).

What can be wrong ?

I'm suspecting a wrong registry registration, but I couldn't find the source of the problem.

Here is what I have in my registry :

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\\VisualStudio.Launcher.vsix] @="Microsoft Visual Studio Extension"

[HKEY_CLASSES_ROOT\\VisualStudio.Launcher.vsix\\DefaultIcon] @="C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSFileHandler.dll,-221"

[HKEY_CLASSES_ROOT\\VisualStudio.Launcher.vsix\\Shell]

[HKEY_CLASSES_ROOT\\VisualStudio.Launcher.vsix\\Shell\\Open]

[HKEY_CLASSES_ROOT\\VisualStudio.Launcher.vsix\\Shell\\Open\\Command] @="\\"C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSLauncher.exe\\" \\"%1\\""

[HKEY_CLASSES_ROOT.vsix] "Content Type"="application/vsix" @="VisualStudio.Launcher.vsix"

[HKEY_CLASSES_ROOT.vsix\\OpenWithProgids] "VisualStudio.Launcher.vsix"=""

Any idea ?

PS: my computer is running W2K8 R2 x64, and I use VS 2010 Pro.

I cannot use Visual Studio integrated extension manager because of a proxy server not working with the gallery (don't know why)

Oh ... finally found the issue.

VSix Installer does not seems to be able to install from a network share. With local copies of vsix, it worked. Strange.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM