From b392d1173fd2d32327ec4e13d49dd09f4711c9ee Mon Sep 17 00:00:00 2001 From: Kuldeep LNU Date: Thu, 12 Sep 2024 04:14:27 +0530 Subject: [PATCH] Porting workaround for D3DCompiler redist incompat from release/9.0-rc1 to release/8.0 --- global.json | 3 ++- .../redist/D3DCompiler/D3DCompiler.vcxproj | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/global.json b/global.json index c5480fe0274..4b1cbb47934 100644 --- a/global.json +++ b/global.json @@ -20,6 +20,7 @@ }, "native-tools": { "strawberry-perl": "5.28.1.1-1", - "net-framework-48-ref-assemblies": "0.0.0.1" + "net-framework-48-ref-assemblies": "0.0.0.1", + "windows-sdk-d3d-redist": "1.0.0" } } diff --git a/src/Microsoft.DotNet.Wpf/redist/D3DCompiler/D3DCompiler.vcxproj b/src/Microsoft.DotNet.Wpf/redist/D3DCompiler/D3DCompiler.vcxproj index 9dd3c1bb39f..d29554ad3c7 100644 --- a/src/Microsoft.DotNet.Wpf/redist/D3DCompiler/D3DCompiler.vcxproj +++ b/src/Microsoft.DotNet.Wpf/redist/D3DCompiler/D3DCompiler.vcxproj @@ -33,8 +33,10 @@ - - $(Windows10SdkPath)Redist\D3D\$(Architecture)\$(D3DCompilerDllBaseName)$(D3DCompilerVersion).dll + + + $(RepositoryToolsDir)native\bin\windows-sdk-d3d-redist\1.0.0\D3D\$(Architecture)\$(D3DCompilerDllBaseName)$(D3DCompilerVersion).dll 16.0