首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >VSIX安装失败

VSIX安装失败
EN

Stack Overflow用户
提问于 2021-04-25 23:56:09
回答 3查看 594关注 0票数 2

我在visual studio 2019中下载了扩展,但在安装时发生错误。

安装日志如下:

代码语言:javascript
复制
  4/25/2021 8:41:33 PM - Microsoft VSIX Installer
     4/25/2021 8:41:33 PM - -------------------------------------------
     4/25/2021 8:41:33 PM - vsixinstaller.exe version:
     4/25/2021 8:41:33 PM - 16.9.2017
     4/25/2021 8:41:33 PM - -------------------------------------------
     4/25/2021 8:41:33 PM - Command line parameters:
     4/25/2021 8:41:33 PM - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VSIXInstaller.exe,C:\Users\Usman\Downloads\ProductivityPowerPack2017.vsix
     4/25/2021 8:41:33 PM - -------------------------------------------
     4/25/2021 8:41:33 PM - Microsoft VSIX Installer
     4/25/2021 8:41:33 PM - -------------------------------------------
     4/25/2021 8:41:34 PM - System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Validation, Version=15.3.0.0,
 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
 dependencies. The located assembly's manifest definition does not
 match the assembly reference. (Exception from HRESULT: 0x80131040)
     File name: 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
        at VSIXInstaller.SupportedSKUs.AddInstalledIsolatedShells(Version
 vsVersion, IntPtr userToken)
        at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
        at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData
 cmdLineData, IntPtr duplicatedUserToken)
        at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
        at VSIXInstaller.App.Initialize()
        at System.Threading.Tasks.Task`1.InnerInvoke()
        at System.Threading.Tasks.Task.Execute()
     --- End of stack trace from previous location where exception was thrown ---
        at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception
 exceptionObject)
     
     WRN: Assembly binding logging is turned OFF.
     To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
     Note: There is some performance penalty associated with assembly bind failure logging.
     To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2021-04-27 03:12:14

运行Visual Studio安装的修复。

票数 2
EN

Stack Overflow用户

发布于 2021-07-10 15:35:50

如果修复不起作用,你可能已经移动了你的VS安装,现在它不会安装任何东西。

这是因为它“可能”在一个不是标准目录的目录中找到VS安装程序。重新安装安装程序本身,然后尝试安装扩展或其他程序

票数 0
EN

Stack Overflow用户

发布于 2021-09-10 04:02:22

检查C盘上是否存在此路径。"Packages“文件夹用于保存VS所需的VS扩展。为了节省空间,我把我的搬到了F盘。错误消息对我帮助不大。

C:\ProgramData\Microsoft\VisualStudio\Packages

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67255398

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档