Skip to content

Commit 59cb04b

Browse files
WindowsTargetPlatformVersion test
1 parent a719001 commit 59cb04b

File tree

2 files changed

+3
-3
lines changed
  • .github/workflows
  • Modules/@babylonjs/react-native-windows/windows/scripts

2 files changed

+3
-3
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,11 @@ jobs:
283283
working-directory: ./Apps/BRNPlayground/windows
284284

285285
- name: Windows build BN
286-
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m ReactNativeBabylon.sln
286+
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /p:WindowsTargetPlatformVersion=10.0.19041.0 /m ReactNativeBabylon.sln
287287
working-directory: ./Modules/@babylonjs/react-native/Build/uwp_x64
288288

289289
- name: Windows build BRN
290-
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m BRNPlayground.sln
290+
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /p:WindowsTargetPlatformVersion=10.0.19041.0 /m BRNPlayground.sln
291291
working-directory: ./Apps/BRNPlayground/windows
292292

293293
# Test packages

Modules/@babylonjs/react-native-windows/windows/scripts/Utils.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Compile-Solution {
6565
)
6666

6767
$MSBuild = Get-MSBuildPath
68-
& "$MSBuild" /p:Configuration="$Configuration" /p:Platform="$Platform" /m $Solution
68+
& "$MSBuild" /p:Configuration="$Configuration" /p:Platform="$Platform" /p:WindowsTargetPlatformVersion=10.0.19041.0 /m $Solution
6969
if ($? -Eq $False) {
7070
Write-Error "$Platform $Configuration Build failed."
7171
exit 1

0 commit comments

Comments
 (0)