ghost1372 / HandyControls

Contains some simple and commonly used WPF controls based on HandyControl
https://ghost1372.github.io/
MIT License
1.07k stars 102 forks source link

Can not install the project template extension #180

Closed GF-Huang closed 1 year ago

GF-Huang commented 1 year ago

Describe the bug

Today, for some reason, I repair my VS2022. After do this, all extension missing, So I going to reinstall HandyControl template extension. But I can't find it via VS Extensions Manage. And I download it from MarketPlace, it show me install failed.

image

image

image


The log file maybe help.

2023/1/7 22:18:31 - Microsoft VSIX Installer
2023/1/7 22:18:31 - -------------------------------------------
2023/1/7 22:18:31 - vsixinstaller.exe version:
2023/1/7 22:18:31 - 17.4.2119
2023/1/7 22:18:31 - -------------------------------------------
2023/1/7 22:18:31 - Command line parameters:
2023/1/7 22:18:31 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\Me\AppData\Local\Temp\MicrosoftEdgeDownloads\ec43f3a2-f048-4907-aeb5-5bb6b05c8065\HandyControl.vsix
2023/1/7 22:18:31 - -------------------------------------------
2023/1/7 22:18:31 - Microsoft VSIX Installer
2023/1/7 22:18:31 - -------------------------------------------
2023/1/7 22:18:32 - Initializing Install...
2023/1/7 22:18:32 - 扩展详细信息...
2023/1/7 22:18:32 -     Identifier         : 16adb6c8-d74c-451c-9c7e-a93ef604d0b9
2023/1/7 22:18:32 -     Name               : HandyControl
2023/1/7 22:18:32 -     Author             : Mahdi Hosseini
2023/1/7 22:18:32 -     Version            : 3.4.4
2023/1/7 22:18:32 -     Description        : Contains some simple and commonly used WPF controls based on HandyControl 
This VSIX Project will help people initialize a HandyControls project.
2023/1/7 22:18:32 -     Locale             : en-US
2023/1/7 22:18:32 -     MoreInfoURL        : https://ghost1372.github.io/handycontrol
2023/1/7 22:18:32 -     InstalledByMSI     : False
2023/1/7 22:18:32 -     SupportedFrameworkVersionRange : [4.0,)
2023/1/7 22:18:32 - 
2023/1/7 22:18:32 -     SignatureState     : Unsigned
2023/1/7 22:18:32 -     支持的产品              : 
2023/1/7 22:18:32 -         Microsoft.VisualStudio.Community
2023/1/7 22:18:32 -             Version : [15.0,17.0)
2023/1/7 22:18:32 -             ProductArchitecture : x86
2023/1/7 22:18:32 -         Microsoft.VisualStudio.Pro
2023/1/7 22:18:32 -             Version : [15.0,17.0)
2023/1/7 22:18:32 -             ProductArchitecture : x86
2023/1/7 22:18:32 -         Microsoft.VisualStudio.Enterprise
2023/1/7 22:18:32 -             Version : [15.0,17.0)
2023/1/7 22:18:32 -             ProductArchitecture : x86
2023/1/7 22:18:32 - 
2023/1/7 22:18:32 -     引用                 : 
2023/1/7 22:18:32 -     系统必备               : 
2023/1/7 22:18:32 -         -------------------------------------------------------
2023/1/7 22:18:32 -         Identifier   : Microsoft.VisualStudio.Component.CoreEditor
2023/1/7 22:18:32 -         Name         : Visual Studio core editor
2023/1/7 22:18:32 -         Version      : [15.0,18.0)
2023/1/7 22:18:32 - 
2023/1/7 22:18:32 - 签名详细信息...
2023/1/7 22:18:32 -     Extension is not signed.
2023/1/7 22:18:32 - 
2023/1/7 22:18:32 - 正在搜索适用的产品...
2023/1/7 22:18:32 - 找到的已安装产品 - 全局位置
2023/1/7 22:18:32 - 找到的已安装产品 - Visual Studio Community 2022
2023/1/7 22:18:32 - VSIXInstaller.NoApplicableSKUsException: 此扩展不能安装在任何当前安装的产品上。
   在 VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   在 VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& 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()

Steps to reproduce the bug

As description.

Expected behavior

No response

Screenshots

No response

NuGet package version

None

IDE

Visual Studio 2022

Framework type

No response

Windows version

Windows 11 (22000)

Additional context

No response

ghost1372 commented 1 year ago

@GF-Huang sorry for late response you should open vsix file by winrar app then edit: extension.vsixmanifest file, now change 17 to 18

i will update extension in market place soon, if you cant wait, you can edit vsix yourself

ghost1372 commented 1 year ago

v3.4.5 uploaded