diff --git a/build/Directory.Build.props b/build/Directory.Build.props
index 56aa8aa6..c61103d9 100644
--- a/build/Directory.Build.props
+++ b/build/Directory.Build.props
@@ -7,7 +7,7 @@
<_AlternativeVCTargetsPath170>$(ExtractedFolder)VCTargets170\
<_AlternativeVCTargetsPath160>$(ExtractedFolder)VCTargets160\
- <_AlternativeVCTargetsPath150>$(ExtractedFolder)VCTargets150\
+ <_AlternativeVCTargetsPath150 Condition="'$(GDKEditionNumber)' != '' AND '$(GDKEditionNumber)' < '241000'">$(ExtractedFolder)VCTargets150\
15.0
diff --git a/build/SetupBWOI.targets b/build/SetupBWOI.targets
index e2b45111..893026be 100644
--- a/build/SetupBWOI.targets
+++ b/build/SetupBWOI.targets
@@ -16,9 +16,6 @@
If any of these folders is not present then we assume that the VCTargets has not been setup
-->
-
-
-
@@ -93,16 +90,16 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
Text="Only supports VS 2019 or VS 2022" />
-
+
-
+
-
-
+
+
@@ -132,4 +129,3 @@ SixtyFourBit = (IntPtr.Size == 8) ? true : false;
-