Skip to content

Commit 078ac72

Browse files
committed
Add Launch parameter to GenerateAllSolution script
1 parent 9f2cd67 commit 078ac72

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

GenerateAllSolution.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
.PARAMETER UseDiagnostics
2727
Add extra diagnostic output to running slngen, such as a binlog, etc...
2828
29+
.PARAMETER Launch
30+
Specifies whether to launch the solution after generation. Default is $true.
31+
2932
.EXAMPLE
3033
C:\PS> .\GenerateAllSolution -MultiTargets wasdk
3134
Build a solution that doesn't contain UWP projects.
@@ -50,7 +53,9 @@ Param (
5053

5154
[string[]]$ExcludeComponents,
5255

53-
[switch]$UseDiagnostics = $false
56+
[switch]$UseDiagnostics = $false,
57+
58+
[bool]$Launch = $true
5459
)
5560

5661
if ($MultiTargets.Contains('all')) {
@@ -183,6 +188,7 @@ $arguments = @(
183188
'--platform'
184189
$platforms
185190
$projects
191+
"--launch $launch"
186192
)
187193

188194
&$cmd @arguments

0 commit comments

Comments
 (0)