codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

VSIXInstaller.NoApplicableSKUsException

Open jrswart49995 opened this issue 2 years ago • 3 comments

Environment

  • Visual Studio version: 2022 Enterprise (ARM-64 Bit) - Current Channel
  • CodeMaid version: 12.0.300
  • Code language: C#

Description

Visual Studio Information:
Enterprise 2022 (ARM 64-Bit) - Current
Version 17.4.1
Microsoft .NET Framework version 4.8.09032
Installed Products:
ASP.NET and Web Tools   17.4.326.54890
Azure App Service Tools v3.0.0   17.4.326.54890
Azure Functions and Web Jobs Tools   17.4.326.54890
C# Tools   4.4.0-6.22559.4+d7e8a398ef479a908e76bded82150c39251d0c9c
Microsoft Azure Tools for Visual Studio   2.9
Microsoft JVM Debugger   1.0
NuGet Package Manager   6.4.0
Razor (ASP.NET Core)   17.0.0.2246202+61cc048d36a3fc9246d2f04625988b19a18ab8f0
SQL Server Data Tools   17.0.62207.28050
TypeScript Tools   17.0.10921.2001
Visual Basic Tools   4.4.0-6.22559.4+d7e8a398ef479a908e76bded82150c39251d0c9c
Visual F# Tools   17.4.0-beta.22512.4+525d5109e389341bb90b144c24e2ad1ceec91e7b
Visual Studio IntelliCode   2.2

Installer Log File:

Installation of Extension on VS2022 Enterprise fails:
Log File Below:
1/3/2023 10:36:14 AM - Microsoft VSIX Installer
1/3/2023 10:36:14 AM - -------------------------------------------
1/3/2023 10:36:14 AM - vsixinstaller.exe version:
1/3/2023 10:36:14 AM - 17.5.28-preview1+g885f4d1c3c
1/3/2023 10:36:14 AM - -------------------------------------------
1/3/2023 10:36:14 AM - Command line parameters:
1/3/2023 10:36:14 AM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,\\Mac\Home\Downloads\CodeMaid.VS2022.v12.0.300 (2).vsix
1/3/2023 10:36:14 AM - -------------------------------------------
1/3/2023 10:36:14 AM - Microsoft VSIX Installer
1/3/2023 10:36:14 AM - -------------------------------------------
1/3/2023 10:36:16 AM - Initializing Install...
1/3/2023 10:36:16 AM - Extension Details...
1/3/2023 10:36:16 AM - 	Identifier         : 9079e73d-3fbb-4e07-8dab-f44fa5d8e8b5
1/3/2023 10:36:16 AM - 	Name               : CodeMaid VS2022
1/3/2023 10:36:16 AM - 	Author             : Steve Cadwallader
1/3/2023 10:36:16 AM - 	Version            : 12.0.300
1/3/2023 10:36:16 AM - 	Description        : CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
1/3/2023 10:36:16 AM - 	Locale             : en-US
1/3/2023 10:36:16 AM - 	MoreInfoURL        : http://www.codemaid.net/
1/3/2023 10:36:16 AM - 	InstalledByMSI     : False
1/3/2023 10:36:16 AM - 	SupportedFrameworkVersionRange : [4.7.2,)
1/3/2023 10:36:16 AM - 	SignatureState     : Unsigned
1/3/2023 10:36:16 AM - 	Supported Products : 
1/3/2023 10:36:16 AM - 		Microsoft.VisualStudio.Community
1/3/2023 10:36:16 AM - 			Version : [17.0,18.0)
1/3/2023 10:36:16 AM - 			ProductArchitecture : amd64
1/3/2023 10:36:16 AM - 	References         : 
1/3/2023 10:36:16 AM - 	Prerequisites      : 
1/3/2023 10:36:16 AM - 		-------------------------------------------------------
1/3/2023 10:36:16 AM - 		Identifier   : Microsoft.VisualStudio.Component.CoreEditor
1/3/2023 10:36:16 AM - 		Name         : Visual Studio core editor
1/3/2023 10:36:16 AM - 		Version      : [17.0,18.0)
1/3/2023 10:36:16 AM - Signature Details...
1/3/2023 10:36:16 AM - 	Extension is not signed.
1/3/2023 10:36:16 AM - Searching for applicable products...
1/3/2023 10:36:16 AM - Found installed product - Global Location
1/3/2023 10:36:16 AM - Found installed product - Visual Studio Enterprise 2022
1/3/2023 10:36:16 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Current behavior

Installation Fails

Expected behavior

Detect VS2022 Enterprise version + install.

jrswart49995 avatar Jan 03 '23 08:01 jrswart49995

Thanks for reporting the issue. I suspect this is related to using an ARM version of VS which is not yet supported by CodeMaid (see #963).

codecadwallader avatar Jan 14 '23 18:01 codecadwallader

Noted, if you are still looking for a test device to make the changes, I will volunteer mine for you.

On Sat, 14 Jan 2023 at 20:35, Steve Cadwallader @.***> wrote:

Thanks for reporting the issue. I suspect this is related to using an ARM version of VS which is not yet supported by CodeMaid (see #963 https://github.com/codecadwallader/codemaid/issues/963).

— Reply to this email directly, view it on GitHub https://github.com/codecadwallader/codemaid/issues/964#issuecomment-1382883103, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5Y2SMHTKZ55QSQDY2UENLWSLWYXANCNFSM6AAAAAATPOUFTE . You are receiving this because you authored the thread.Message ID: @.***>

--

Kind regards,

Renier Swart

jrswart49995 avatar Jan 14 '23 19:01 jrswart49995

I had a similar issue. In my case i was not using the ARM version, but a typical community edition(Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.8.3).

What i did, instead of running the .vsix file, was to add the extension from within visual studio, extensions. This was i managed to installed it succesfully!

sotiriszegiannis avatar Jan 02 '24 10:01 sotiriszegiannis