Skip to content

Add Launch parameter to GenerateAllSolution script #248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion GenerateAllSolution.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -50,7 +53,9 @@ Param (

[string[]]$ExcludeComponents,

[switch]$UseDiagnostics = $false
[switch]$UseDiagnostics = $false,

[bool]$Launch = $true
)

if ($MultiTargets.Contains('all')) {
Expand Down Expand Up @@ -183,6 +188,7 @@ $arguments = @(
'--platform'
$platforms
$projects
"--launch $launch"
)

&$cmd @arguments
Loading