Visual studio Qt VS工具在Visual Studio 2019中不起作用

Visual studio Qt VS工具在Visual Studio 2019中不起作用,visual-studio,qt,Visual Studio,Qt,我已经从这个文件Qt-opensource-windows-x86-5.13.1.exe安装了Qt,并从这个文件Qt-vsaddin-msvc2019-2.4.1.vsix安装了Qt-VS-Addin 不幸的是,Qt VS工具在VisualStudio2019中不起作用。我明白了 如果您感兴趣,这里是完整的ActivityLog.xml。 下面是ActivityLog.xml中与Qt相关的错误 Still unable to load MEF component DLL: Could not

我已经从这个文件Qt-opensource-windows-x86-5.13.1.exe安装了Qt,并从这个文件Qt-vsaddin-msvc2019-2.4.1.vsix安装了Qt-VS-Addin

不幸的是,Qt VS工具在VisualStudio2019中不起作用。我明白了

如果您感兴趣,这里是完整的ActivityLog.xml。 下面是ActivityLog.xml中与Qt相关的错误

Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.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) C:\USERS\DNDT\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_AE768EF4\EXTENSIONS\U15MJQMI.ZYG\QtVsTools.dll    
SetSite failed for package [Vsix]Source: 'QtVsTools' Description: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Threading, Version=16.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'at QtVsTools.Vsix.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass19_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__68.MoveNext()
--- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)at Microsoft.VisualStudio.Services.VsTask.GetResult() 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].
仍无法加载MEF组件DLL:无法加载文件或程序集“Microsoft.VisualStudio.Threading,Version=16.3.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”或其依赖项之一。定位的程序集清单定义与程序集引用不匹配。(HRESULT的异常:0x8013100)C:\USERS\DNDT\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0\U AE768EF4\EXTENSIONS\U15MJQMI.ZYG\QtVsTools.dll
程序包[Vsix]的设置站点失败源:“QtVsTools”说明:无法加载文件或程序集“Microsoft.VisualStudio.Threading,Version=16.3.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”或其依赖项之一。系统找不到指定的文件。System.IO.FileNotFoundException:无法加载文件或程序集“Microsoft.VisualStudio.Threading,Version=16.3.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”或其依赖项之一。系统找不到指定的文件。文件名:QtVsTools.Vsix.InitializeAsync(CancellationToken CancellationToken,IProgress`1 progress),Microsoft.VisualStudio.Shell.AsyncPackage.c_uDisplayClass19_0.d.MoveNext()上的文件名:Microsoft.VisualStudio.Threading,版本=16.3.0.0,区域性=中性,PublicKeyToken=b03f5f7f11d50a3a
---在Microsoft.VisualStudio.Threading.JoinableTask.d__68.MoveNext()上,从引发异常的上一个位置(在System.Runtime.CompilerServices.TaskWaiter.ThrowForOnSuccess(任务任务任务)到System.Runtime.CompilerServices.TaskWaiter.ThrowForOnSuccess(任务任务任务任务)的堆栈结束跟踪
---在Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)在Microsoft.VisualStudio.Services.VsTask.InternalGetResult(布尔ignoreUIThreadCheck)在Microsoft.VisualStudio.Services.VsTask.GetResult()关闭程序集绑定日志记录时,从引发异常的上一个位置开始跟踪堆栈结束。要启用程序集绑定失败日志记录,请将注册表值[HKLM\Software\Microsoft\Fusion!EnableLog](DWORD)设置为1。注意:程序集绑定失败日志记录会带来一些性能损失。要关闭此功能,请删除注册表值[HKLM\Software\Microsoft\Fusion!EnableLog]。

安装以前的版本就可以做到这一点。

安装以前的版本就可以做到这一点。

安装“Qt Visual Studio Tools 2.4.2”我目前在Qt 15.13.2中使用它,它是为VS17构建的,但在VS19上工作。

安装“Qt Visual Studio Tools 2.4.2”我目前在Qt 15.13.2中使用它,它是为VS17构建的,但在VS19上工作