From 078ac726c83a2b8ec6e3f59bdff07f07cf394327 Mon Sep 17 00:00:00 2001 From: Arlo Date: Thu, 23 Jan 2025 17:19:04 -0600 Subject: [PATCH] Add Launch parameter to GenerateAllSolution script --- GenerateAllSolution.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/GenerateAllSolution.ps1 b/GenerateAllSolution.ps1 index 2b59293..e32ed4b 100644 --- a/GenerateAllSolution.ps1 +++ b/GenerateAllSolution.ps1 @@ -26,6 +26,9 @@ .PARAMETER UseDiagnostics Add extra diagnostic output to running slngen, such as a binlog, etc... +.PARAMETER Launch + Specifies whether to launch the solution after generation. Default is $true. + .EXAMPLE C:\PS> .\GenerateAllSolution -MultiTargets wasdk Build a solution that doesn't contain UWP projects. @@ -50,7 +53,9 @@ Param ( [string[]]$ExcludeComponents, - [switch]$UseDiagnostics = $false + [switch]$UseDiagnostics = $false, + + [bool]$Launch = $true ) if ($MultiTargets.Contains('all')) { @@ -183,6 +188,7 @@ $arguments = @( '--platform' $platforms $projects + "--launch $launch" ) &$cmd @arguments