diff --git a/global.json b/global.json index ec7129c9490..1a39ee9e2da 100644 --- a/global.json +++ b/global.json @@ -20,6 +20,7 @@ }, "native-tools": { "strawberry-perl": "5.38.0.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..9a7771f5b45 100644 --- a/src/Microsoft.DotNet.Wpf/redist/D3DCompiler/D3DCompiler.vcxproj +++ b/src/Microsoft.DotNet.Wpf/redist/D3DCompiler/D3DCompiler.vcxproj @@ -25,16 +25,18 @@ - $(D3DCompilerDllBaseName)$(D3DCompilerVersion)$(WpfVersionSuffix) - - $(Windows10SdkPath)Redist\D3D\$(Architecture)\$(D3DCompilerDllBaseName)$(D3DCompilerVersion).dll + + + $(RepositoryToolsDir)native\bin\windows-sdk-d3d-redist\1.0.0\D3D\$(Architecture)\$(D3DCompilerDllBaseName)$(D3DCompilerVersion).dll 16.0