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

VSIXInstaller.NoApplicableSKUsException #964

Open
jrswart49995 opened this issue Jan 3, 2023 · 3 comments
Open

VSIXInstaller.NoApplicableSKUsException #964

jrswart49995 opened this issue Jan 3, 2023 · 3 comments

Comments

@jrswart49995
Copy link

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.

@codecadwallader
Copy link
Owner

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).

@jrswart49995
Copy link
Author

jrswart49995 commented Jan 14, 2023 via email

@sotiriszegiannis
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants