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: MultiTarget/UseTargetFrameworks.ps1
+45-46Lines changed: 45 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -3,29 +3,32 @@
3
3
Changes the target frameworks to build for each package created within the repository.
4
4
.DESCRIPTION
5
5
By default, only the UWP, Windows App SDK, and WASM heads are built to simplify dependencies
6
-
needed to build projects within the repository. The CI will enable all targets to build a package
6
+
needed to build projects within the repository. The CI will enable all include to build a package
7
7
that works on all supported platforms.
8
8
9
9
Note: Projects which rely on target platforms that are excluded will be unable to build.
10
-
.PARAMETERtargets
11
-
List of targets to set as TFM platforms to build for. Possible values match those provided to the <MultiTarget> MSBuild property, as well as 'all', 'all-uwp', 'all-wasdk', or blank.
12
-
When run as blank, the defaults (uwp, winappsdk, wasm) will be used.
13
-
'all', 'all-uwp', and 'all-wasdk' shouldn't be used with other targets or each other.
14
-
.PARAMETERallowGitChanges
15
-
Enabling this flag will allow changes to the props file to be checked into source control.
16
-
By default the file is ignored so local changes to building don't accidently get checked in.
10
+
.PARAMETERinclude
11
+
List of include to set as TFM platforms to build for. Possible values match those provided to the <MultiTarget> MSBuild property.
12
+
By default, uwp, wasdk, and wasm will included.
13
+
.PARAMETERexclude
14
+
List to exclude from build. Possible values match those provided to the <MultiTarget> MSBuild property.
15
+
By default, none will excluded.
17
16
.EXAMPLE
18
-
C:\PS> .\UseTargetFrameworks winappsdk
19
-
Build targets for just the WindowsAppSDK.
17
+
C:\PS> .\UseTargetFrameworks wasdk
18
+
Build include for just the WindowsAppSDK.
20
19
.NOTES
21
20
Author: Windows Community Toolkit Labs Team
22
21
Date: April 8, 2022
23
22
#>
24
23
Param (
25
24
[Parameter(HelpMessage="The target frameworks to enable.")]
0 commit comments