Howdy! π
If you use Visual Studio for Windows on an ARM 64 machine, and you have tried installing an extension on it, you would mostly get this error message

Note that this error doesn't occur with all extensions out there on the marketplace. However, when it does, you can easily resolve this issue with a few simple steps.
Step 1
Get yourself 7-Zip installed on your device, basically anything that allows you to open the VSIX archive file.
Step 2
Right click the VSIX file and open the archive with 7-Zip. Once you have it opened, look for a file named extension.vsixmanifest

Step 3
Once you locate the file, right click it, and then press edit, it should open up in Notepad, or anything text editor you got. Make sure you right click then select edit, don't just double click it, cause that might open it in a text editor but saving won't persist the updates on the archive itself.
Step 4
Update this value highlighted in the image below

This value initially would be set to amd64, just make it arm64 like in the image, and then close the file. Note that when you save and close, 7-Zip will prompt you to reload the archive cause its content was changed, click yes, then close it!
Step 5
No step 5 actually, just install the extension and it will work normally now!
Conclusion β
I've faced this issue while downloading themes and various extensions like the one I shared above, the SonarQube lint extension, and I didn't know what's the issue behind it, I was looking into the code of the extension and stumbled upon changing this value for curiosity because my device has the Snapdragon X Elite ARM-64 CPU, and it did actually work for a ton of extensions for me! So in case you came across this issue, here's your solution; Hope it's useful!
Top comments (0)