From f3652697aeade61e010f50a68c806eec82a3d9de Mon Sep 17 00:00:00 2001 From: GoaLitiuM Date: Sun, 6 Jun 2021 17:16:19 +0300 Subject: [PATCH] Fix building UWP platform with Visual Studio 2019 --- .../Flax.Build/Platforms/Windows/WindowsToolchainBase.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Tools/Flax.Build/Platforms/Windows/WindowsToolchainBase.cs b/Source/Tools/Flax.Build/Platforms/Windows/WindowsToolchainBase.cs index b59bcae39..8a1b3b43f 100644 --- a/Source/Tools/Flax.Build/Platforms/Windows/WindowsToolchainBase.cs +++ b/Source/Tools/Flax.Build/Platforms/Windows/WindowsToolchainBase.cs @@ -367,8 +367,11 @@ namespace Flax.Build.Platforms var vcToolChainDir = toolsets[Toolset]; switch (Toolset) { - case WindowsPlatformToolset.v141: return Path.Combine(vcToolChainDir, "lib", "x86", "store", "references"); - case WindowsPlatformToolset.v140: return Path.Combine(vcToolChainDir, "lib", "store", "references"); + case WindowsPlatformToolset.v142: + case WindowsPlatformToolset.v141: + return Path.Combine(vcToolChainDir, "lib", "x86", "store", "references"); + case WindowsPlatformToolset.v140: + return Path.Combine(vcToolChainDir, "lib", "store", "references"); default: return null; } }