Can't install on Microsoft Visual Studio Professional 2022 (ARM 64-bit)

  • Operating system: Windows 11
  • SonarLint plugin version: 7.2.0.76209

I run Windows 11 in Parallels Desktop on an Apple MacBook Pro (with an M2 Pro CPU). I have Microsoft Visual Studio Professional 2022 (ARM 64-bit) installed on this Win11. SonarLint cannot be installed on this machine and the installation ends with the following error:

Screenshot 2023-08-22 at 16.52.25

I found on the SonarLint page on the Visual Studio marketplace web site, that only Visual Studio 2022 (amd64) is supported (see in the bottom right corner under “Works with”):

Most VS plugins support all CPU versions of VS, why SonarLint supports only the AMD64 CPUs?
Will you support VS 2022 for the ARM processors as well?

Hello @arpadr and welcome to the Sonar community forum!
Arm64 devices are indeed not yet supported by SonarLint for Visual Studio, and this is something you are considering in our roadmap. You can subscribe to this card to receive updates.

1 Like
  • Operating system: Windows 11 Pro 22H2 22621.1702 Experience Pack 1000.22641.1000.0, running in Parallels on Apple Silicon 64-bit ARM.
  • Visual Studio version: Visual Studio Professional 2022 (ARM 64-bit) 17.7.3
  • SonarLint plugin version: SonarLint.VSIX-7.2.0.76209-2022.vsix
  • Programming language you’re coding in: N/A
  • Is connected mode used: N/A
    • Connected to SonarCloud or SonarQube (and which version): N/A

The extension is unavailable through Visual Studio’s Extensions > Manage Extensions dialog. The extension shows up in search in the Roaming Extension Manager pane, but the “Download” button is disabled. Having downloaded the latest VSIX and closing Visual Studio, I cannot install the extension. Below is a partial stack trace showing relevant information about the error.

9/8/2023 10:25:41 AM - Microsoft VSIX Installer
9/8/2023 10:25:41 AM - -------------------------------------------
9/8/2023 10:25:41 AM - vsixinstaller.exe version:
9/8/2023 10:25:41 AM - 17.7.2192+5ac9365ac0
9/8/2023 10:25:41 AM - -------------------------------------------
9/8/2023 10:25:41 AM - Command line parameters:
9/8/2023 10:25:41 AM - C:\[...]\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\[...]\SonarLint.VSIX-7.2.0.76209-2022.vsix
...
9/8/2023 10:25:47 AM - Signature Details...
9/8/2023 10:25:47 AM - 	Extension is signed with a valid signature.
9/8/2023 10:25:47 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.ExtensionService.GetInstallableDataImpl(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData) in D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionService.cs:line 186
   at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData) in D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionService.cs:line 28
   at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported) in D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionPackService.cs:line 101
   at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported) in D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\Services\ExtensionPackService.cs:line 42
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported) in D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\App.xaml.cs:line 272
   at VSIXInstaller.App.Initialize() in D:\a\_work\1\s\src\product\extensionManager\installer\VSIXInstaller\App.xaml.cs:line 230
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Are ARM processors unsupported? Are there plans to add support for them?

EDIT: I’m not a VSIX developer, but according to Microsoft’s documentation adding support for ARM64 targets in VS Extensions that already target AMD64 is trivial:

  1. Arm64 Support for VS Extensions
  2. Target Visual Studio 2022 (ARM64) when creating or updating an extension in Visual Studio 2022 - Visual Studio (Windows) | Microsoft Learn

Hello @mgarofalo and welcome to the Sonar community! I’ve moved your post into an existing thread. I invite you to subscribe the roadmap card mentioned above to receive updates when we will add support for Arm64.

1 Like