Home > Software engineering >  Microsoft.VCLibs Visual Studio build error for ARM architecture
Microsoft.VCLibs Visual Studio build error for ARM architecture

Time:06-23

I am using Visual Studio 2019 (16.11.15) on Windows desktop. I need to build a UWP App or DLL plugin for ARM architecture platform, such as HoloLens2. It builds fine for x64 but not for ARM64. The error comes from Microsoft.VCLibs dependency.

Error MSB3779 The processor architecture of the project being built "ARM" is not supported by the referenced SDK "Microsoft.VCLibs, Version=14.0". Please consider changing the targeted processor architecture of your project (in Visual Studio this can be done through the Configuration Manager) to one of the architectures supported by the SDK: "x86, x64".

I can't find a way to remove this dependency from my VS solution. I've tried to install the Microsoft.VCLibs.arm64.14.00.Desktop.appx from enter image description here

CodePudding user response:

It builds fine for x64 but not for ARM64. The error comes from Microsoft.VCLibs dependency.

I have tested within my current VS2022, it could build arm64 successfully without dependency error. And it looks more related with VS, please try to repair it or install new VS2022 to repalce.

  • Related