简体   繁体   English

无法安装.vsix软件包

[英]Cannot install .Vsix package

I have troubles with .vsix installation. 我对.vsix安装有麻烦。

If I launch the .vsix from the explorer, instead of suggesting me to install the package, I get the same ouput as Vsixintaller.exe /? 如果从资源管理器启动.vsix,而不是建议我安装该软件包,则得到的输出与Vsixintaller.exe /?相同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" 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 Windows注册表编辑器版本5.00

[HKEY_CLASSES_ROOT\\VisualStudio.Launcher.vsix] @="Microsoft Visual Studio Extension" [HKEY_CLASSES_ROOT \\ VisualStudio.Launcher.vsix] @ =“ Microsoft Visual Studio扩展”

[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 \\ 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]

[HKEY_CLASSES_ROOT\\VisualStudio.Launcher.vsix\\Shell\\Open] [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 \\ 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]“内容类型” =“ application / vsix” @ =“ VisualStudio.Launcher.vsix”

[HKEY_CLASSES_ROOT.vsix\\OpenWithProgids] "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. PS:我的计算机正在运行W2K8 R2 x64,并且我使用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) 我无法使用Visual Studio集成扩展管理器,因为代理服务器无法与图库一起使用(不知道为什么)

Oh ... finally found the issue. 哦...终于找到了问题。

VSix Installer does not seems to be able to install from a network share. VSix Installer似乎无法从网络共享进行安装。 With local copies of vsix, it worked. 使用vsix的本地副本,它可以工作。 Strange. 奇怪。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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