From cea630ac4c29cfd757f4c0de0e1a51b30dea977d Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 23 Oct 2024 14:45:17 -0700 Subject: [PATCH] VS 2019 Win32 on ARM64 is no longer supported (#536) --- README.md | 4 +++- build/DirectXTex-GitHub-SDK-prerelease.yml | 9 +++++---- build/DirectXTex-GitHub-SDK-release.yml | 9 +++++---- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e34d0f6..f3ecbb8 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,9 @@ For a full change history, see [CHANGELOG.md](https://github.com/microsoft/Direc * The UWP projects and the Win10 classic desktop project include configurations for the ARM64 platform. Building these requires installing the ARM64 toolset. -* When using clang/LLVM for the ARM64 platform, the Windows 11 SDK ([22000](https://walbourn.github.io/windows-sdk-for-windows-11/)) or later is required. +* For ARM64/AArch64 development, the VS 2022 compiler is strongly recommended over the VS 2019 toolset. The Windows SDK (26100 or later) is not compatible with VS 2019 for Win32 on ARM64 development. *Note that the ARM32/AArch32 platform is [deprecated](https://learn.microsoft.com/windows/arm/arm32-to-arm64)*. + +* When using clang/LLVM for the ARM64/AArch64 platform, the Windows 11 SDK ([22000](https://walbourn.github.io/windows-sdk-for-windows-11/)) or later is required. * The ``CompileShaders.cmd`` script must have Windows-style (CRLF) line-endings. If it is changed to Linux-style (LF) line-endings, it can fail to build all the required shaders. diff --git a/build/DirectXTex-GitHub-SDK-prerelease.yml b/build/DirectXTex-GitHub-SDK-prerelease.yml index 26f881d..ab6a282 100644 --- a/build/DirectXTex-GitHub-SDK-prerelease.yml +++ b/build/DirectXTex-GitHub-SDK-prerelease.yml @@ -147,17 +147,18 @@ jobs: msbuildArgs: /p:PreferredToolArchitecture=x64 platform: x64 configuration: Release + # VS 2019 for Win32 on ARM64 is out of support. - task: VSBuild@1 - displayName: Build solution DirectXTex_Desktop_2019_Win10.sln arm64dbg + displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64dbg inputs: - solution: DirectXTex_Desktop_2019_Win10.sln + solution: DirectXTex_Desktop_2022_Win10.sln msbuildArgs: /p:PreferredToolArchitecture=x64 platform: ARM64 configuration: Debug - task: VSBuild@1 - displayName: Build solution DirectXTex_Desktop_2019_Win10.sln arm64rel + displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64rel inputs: - solution: DirectXTex_Desktop_2019_Win10.sln + solution: DirectXTex_Desktop_2022_Win10.sln msbuildArgs: /p:PreferredToolArchitecture=x64 platform: ARM64 configuration: Release diff --git a/build/DirectXTex-GitHub-SDK-release.yml b/build/DirectXTex-GitHub-SDK-release.yml index cc9a3f2..70b6f20 100644 --- a/build/DirectXTex-GitHub-SDK-release.yml +++ b/build/DirectXTex-GitHub-SDK-release.yml @@ -147,17 +147,18 @@ jobs: msbuildArgs: /p:PreferredToolArchitecture=x64 platform: x64 configuration: Release + # VS 2019 for Win32 on ARM64 is out of support. - task: VSBuild@1 - displayName: Build solution DirectXTex_Desktop_2019_Win10.sln arm64dbg + displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64dbg inputs: - solution: DirectXTex_Desktop_2019_Win10.sln + solution: DirectXTex_Desktop_2022_Win10.sln msbuildArgs: /p:PreferredToolArchitecture=x64 platform: ARM64 configuration: Debug - task: VSBuild@1 - displayName: Build solution DirectXTex_Desktop_2019_Win10.sln arm64rel + displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64rel inputs: - solution: DirectXTex_Desktop_2019_Win10.sln + solution: DirectXTex_Desktop_2022_Win10.sln msbuildArgs: /p:PreferredToolArchitecture=x64 platform: ARM64 configuration: Release