You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GenerateAllSolution.ps1
+68-13Lines changed: 68 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,71 @@
1
1
<#
2
2
.SYNOPSIS
3
3
Generates the solution file comprising of platform heads for samples, individual component projects, and tests.
4
+
4
5
.DESCRIPTION
5
6
Used mostly for CI building of everything and testing end-to-end scenarios involving the full
6
7
sample app experience.
7
8
8
9
Otherwise it is recommended to focus on an individual component's solution instead.
9
-
.PARAMETERIncludeHeads
10
-
List of TFM based projects to include. This can be 'all', 'uwp', or 'wasdk'.
11
10
12
-
Defaults to 'all'.
11
+
.PARAMETERMultiTargets
12
+
Specifies the MultiTarget TFM(s) to include for building the components. The default value is 'all'.
13
+
14
+
.PARAMETERExcludeMultiTargets
15
+
Specifies the MultiTarget TFM(s) to exclude for building the components. The default value excludes targets that require additional tooling or workloads to build. Run uno-check to install the required workloads.
16
+
17
+
.PARAMETERComponents
18
+
The names of the components to generate project and solution references for. Defaults to all components.
19
+
20
+
.PARAMETERExcludeComponents
21
+
The names of the components to exclude when generating solution and project references. Defaults to none.
22
+
13
23
.PARAMETERUseDiagnostics
14
24
Add extra diagnostic output to running slngen, such as a binlog, etc...
25
+
15
26
.EXAMPLE
16
-
C:\PS> .\GenerateAllSolution -IncludeHeads wasdk
27
+
C:\PS> .\GenerateAllSolution -MultiTargets wasdk
17
28
Build a solution that doesn't contain UWP projects.
29
+
18
30
.NOTES
19
31
Author: Windows Community Toolkit Labs Team
20
32
Date: April 27, 2022
21
33
#>
22
34
Param (
23
-
[Parameter(HelpMessage="The heads to include for building the sample gallery and tests.",ParameterSetName="IncludeHeads")]
35
+
[Parameter(HelpMessage="The heads to include for building the sample gallery and tests.",ParameterSetName="MultiTargets")]
0 commit comments