Skip to content

Commit fa8da8f

Browse files
Arlodotexemichael-hawker
authored andcommitted
Declared SupportedOSPlatformVersion for WinAppSdk
1 parent 028fe9c commit fa8da8f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

MultiTarget/WinUI.Extra.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup Condition="'$(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
17+
-->
1218
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
19+
<SupportedOSPlatformVersion>$(TargetPlatformMinVersion)</SupportedOSPlatformVersion>
1320
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
1421
</PropertyGroup>
1522

0 commit comments

Comments
 (0)