diff --git a/build/test-scripts/run-netcore-mobile-template-tests.ps1 b/build/test-scripts/run-netcore-mobile-template-tests.ps1 index ede0e73017..97c80d6c6f 100644 --- a/build/test-scripts/run-netcore-mobile-template-tests.ps1 +++ b/build/test-scripts/run-netcore-mobile-template-tests.ps1 @@ -39,7 +39,7 @@ $dotnetBuildConfigurations = if ($IsWindows) { - $dotnetBuildConfigurations = $($dotnetBuildConfigurations; @("Skia.WPF", "", "")); + $dotnetBuildConfigurations += , @("Skia.WPF", "", ""); } cd src/SolutionTemplate @@ -91,7 +91,7 @@ $dotnetBuildNet6Configurations = if ($IsWindows) { - $dotnetBuildNet6Configurations = $($dotnetBuildNet6Configurations; @("Skia.WPF", "", "")); + $dotnetBuildNet6Configurations += , @("Skia.WPF", "", ""); } # WinUI - Default