Skip to content

Commit 43df33a

Browse files
authored
Merge pull request #248 from CommunityToolkit/solution-generation/launch-param
Add Launch parameter to GenerateAllSolution script
2 parents 660f1b8 + 8dbe164 commit 43df33a

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')) {
@@ -187,6 +192,7 @@ $arguments = @(
187192
'--platform'
188193
$platforms
189194
$projects
195+
"--launch $launch"
190196
)
191197

192198
&$cmd @arguments

0 commit comments

Comments
 (0)