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: Build-Toolkit-Components.ps1
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
Specifies the date for versioning in 'YYMMDD' format. The default value is the current date.
16
16
17
17
.PARAMETERPreviewVersion
18
-
Specifies the preview version to use if packaging is enabled. Appended with a dash after the version number (formatted Version-PreviewVersion). This parameter is required when NupkgOutput is supplied.
18
+
Specifies the preview version to use if packaging is enabled. Appended with a dash after the version number (formatted Version-PreviewVersion). This parameter is optional.
19
19
20
20
.PARAMETERNupkgOutput
21
21
Specifies the output directory for .nupkg files. This parameter is optional. When supplied, the components will also be packed and nupkg files will be output to the specified directory.
@@ -110,9 +110,8 @@ if ($Components -eq @('all')) {
110
110
$Components=@('**')
111
111
}
112
112
113
-
# Check if NupkgOutput is supplied without PreviewVersion
114
-
if ($NupkgOutput-and-not$PreviewVersion) {
115
-
throw"PreviewVersion is required when NupkgOutput is supplied."
Copy file name to clipboardExpand all lines: MultiTarget/WinUI.Extra.props
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,14 @@
9
9
</PropertyGroup>
10
10
11
11
<PropertyGroupCondition="'$(IsWinAppSdk)' == 'true' OR '$(IsUwp)' == 'true'">
12
+
<!--
13
+
For net5.0+ targets, TargetPlatformMinVersion was renamed to SupportedOSPlatformVersion. See https://github.com/dotnet/designs/pull/157
14
+
15
+
The dotnet SDK uses the TargetPlatformVersion property to provide a default SupportedOSPlatformVersion value if none is explicitly provided.
16
+
See https://github.com/dotnet/designs/blob/bba3216250cb29b0063bac3ebb57a542ee21ad4f/accepted/2020/minimum-os-version/minimum-os-version.md?plain=1#L73C27-L73C48
0 commit comments