英文:
Can't install VSIX Visual Studio extensions on arm64?
问题
我无法在我的arm64 Windows机器上安装任何主题到Visual Studio 2022。VSIX总是出错。
英文:
I can't get any themes to install in Visual Studio 2022 on my arm64 Windows machine. The VSIX always error out.
答案1
得分: 2
如果您在Win11 arm64上运行VS 2022,您可能已经注意到,您可能拥有本机的Visual Studio,但无法安装任何扩展-甚至是主题!
嗯,我找到了原因。这是因为即使是主题的VSIX包也与特定的目标体系结构绑定,即使它可以正常工作,它也会拒绝在其他任何地方安装。
不管怎样,这是安装主题的方法:
- 获取7-zip
- 通过右键单击并选择“在内部打开”来打开VSIX文件
- 找到
extension.vsixmanifest
,右键单击它,然后选择“编辑” - 查找此标签:
<ProductArchitecture>amd64</ProductArchitecture>
,将amd64
更改为arm64
- 关闭编辑器,并在7-zip询问您是否要更新文件时选择是
主题现在将无问题地安装。
希望这对某人有所帮助。
英文:
If you're running VS 2022 in Win11 arm64, you've probably noticed that you may have a native Visual Studio, but you can't get any extensions to install-not even themes!
Well, I figured out why. It's because even theme VSIX packages are tied to a specific set of target architectures, and it will refuse to install on anything else even if it would work just fine.
Anyway, here's how you install a theme:
- Get yourself 7-zip
- Open the VSIX file by right-clicking and choosing
Open Inside
- Locate
extension.vsixmanifest
, and right-click that and chooseEdit
- Find this tag:
<ProductArchitecture>amd64</ProductArchitecture>
and changeamd64
toarm64
- Close the editor, and say yes when 7-zip asks you if you want to update the file.
The theme will now install with no problems.
Hope this helps someone out there.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论