Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install by Visual Studio 2022 #21

Open
ancientcc opened this issue Nov 13, 2021 · 4 comments
Open

Can not install by Visual Studio 2022 #21

ancientcc opened this issue Nov 13, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ancientcc
Copy link

Use "Extensions"--"Manage Extensions", I can install LuaDkmDebugger by Visual Studio 2019. Now I use 2022, Use "Extensions"--"Manage Extensions" can not find LuaDkmDebugger.

How can I use it on Visual Studio 2022?

@WheretIB WheretIB added the bug Something isn't working label Nov 18, 2021
@WheretIB
Copy link
Owner

I will need to update the extension to target the new Visual Studio.

I'm working on it.

@WheretIB WheretIB self-assigned this Nov 18, 2021
@WheretIB
Copy link
Owner

Fixed in 8302af0
Released in https://github.com/WheretIB/LuaDkmDebugger/releases/tag/v0.9.9

Use the LuaDkmDebugger17.vsix file to install.
If I understand correctly, Extension Marketplace doesn't support extensions that work in both VS 2019 and VS 2022 yet.
Microsoft promises to add support for this, so in the future you will be able to find the extension from Manage Extensions. But for now, you have to install manually.

@ancientcc
Copy link
Author

I downloaded LuaDkmDebugger.vsix,, but install fail. Below is error log.


2021/11/20 8:17:20 - Microsoft VSIX Installer
2021/11/20 8:17:20 - -------------------------------------------
2021/11/20 8:17:20 - vsixinstaller.exe version:
2021/11/20 8:17:20 - 17.0.5226-preview5
2021/11/20 8:17:20 - -------------------------------------------
2021/11/20 8:17:20 - Command line parameters:
2021/11/20 8:17:20 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\movie\LuaDkmDebugger.vsix
2021/11/20 8:17:20 - -------------------------------------------
2021/11/20 8:17:20 - Microsoft VSIX Installer
2021/11/20 8:17:20 - -------------------------------------------
2021/11/20 8:17:20 - Initializing Install...
2021/11/20 8:17:21 - 扩展详细信息...
2021/11/20 8:17:21 - Identifier : LuaDkmDebugger.e3e2ef04-27c9-46a6-ad45-79bd29067eb6
2021/11/20 8:17:21 - Name : C++ debugger extensions for Lua
2021/11/20 8:17:21 - Author : WheretIB
2021/11/20 8:17:21 - Version : 0.9.9
2021/11/20 8:17:21 - Description : This extension adds integrated debugging for Lua scripts executing inside C++ applications with Lua library.
2021/11/20 8:17:21 - Locale : en-US
2021/11/20 8:17:21 - MoreInfoURL :
2021/11/20 8:17:21 - InstalledByMSI : False
2021/11/20 8:17:21 - SupportedFrameworkVersionRange : [4.5,)
2021/11/20 8:17:21 -
2021/11/20 8:17:21 - SignatureState : Unsigned
2021/11/20 8:17:21 - 支持的产品 :
2021/11/20 8:17:21 - Microsoft.VisualStudio.Community
2021/11/20 8:17:21 - Version : [15.0,17.0)
2021/11/20 8:17:21 - ProductArchitecture : x86
2021/11/20 8:17:21 - Microsoft.VisualStudio.Pro
2021/11/20 8:17:21 - Version : [15.0,17.0)
2021/11/20 8:17:21 - ProductArchitecture : x86
2021/11/20 8:17:21 - Microsoft.VisualStudio.Enterprise
2021/11/20 8:17:21 - Version : [15.0,17.0)
2021/11/20 8:17:21 - ProductArchitecture : x86
2021/11/20 8:17:21 -
2021/11/20 8:17:21 - 引用 :
2021/11/20 8:17:21 - 系统必备 :
2021/11/20 8:17:21 - -------------------------------------------------------
2021/11/20 8:17:21 - Identifier : Microsoft.VisualStudio.Component.CoreEditor
2021/11/20 8:17:21 - Name : Visual Studio core editor
2021/11/20 8:17:21 - Version : [15.0,)
2021/11/20 8:17:21 -
2021/11/20 8:17:21 - -------------------------------------------------------
2021/11/20 8:17:21 - Identifier : Microsoft.VisualStudio.Debugger
2021/11/20 8:17:21 - Name : Visual Studio Debugger
2021/11/20 8:17:21 - Version : [15.0,)
2021/11/20 8:17:21 -
2021/11/20 8:17:21 - 签名详细信息...
2021/11/20 8:17:21 - Extension is not signed.
2021/11/20 8:17:21 -
2021/11/20 8:17:21 - 正在搜索适用的产品...
2021/11/20 8:17:21 - 找到的已安装产品 - 全局位置
2021/11/20 8:17:21 - 找到的已安装产品 - Visual Studio Enterprise 2022 Current
2021/11/20 8:17:21 - VSIXInstaller.NoApplicableSKUsException: 此扩展不能安装在任何当前安装的产品上。
在 VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData) 在 VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData)
在 VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
在 VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
在 VSIXInstaller.App.Initialize(Boolean isRepairSupported)
在 VSIXInstaller.App.Initialize()
在 System.Threading.Tasks.Task`1.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

@idbrii
Copy link

idbrii commented Oct 18, 2023

Use the LuaDkmDebugger17.vsix file to install.

FYI, this confused me too. I assumed LuaDkmDebugger.vsix would be vs2022 (the latest) and LuaDkmDebugger17.vsix would be vs2017.

@WheretIB Could you rename or mention that LuaDkmDebugger17.vsix has vs2022 support in the text above the downloads on the releases page.

Once I installed LuaDkmDebugger17.vsix (which prompted to install for VS2022), then I could successfully see lua lines in my callstacks again. Thanks for the great extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants