Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
807079a
Enable SBOM generation for WindowsAppSDK (#1979)
kythant Jan 13, 2022
619e96d
TDBuild - updating localized resource files.
Jan 14, 2022
4c01140
Update dependencies from https://dev.azure.com/microsoft/ProjectReuni…
Jan 14, 2022
1939b16
TDBuild - updating localized resource files.
Jan 15, 2022
e739a21
DDLM package names are Microsoft.WinAppRuntime.DDLM.<minor><patch>.<m…
DrusTheAxe Jan 18, 2022
0b82e7d
TDBuild - updating localized resource files.
Jan 19, 2022
dfad56a
Add new font selection APIs to DWrite API spec (#1967)
niklasb-ms Jan 19, 2022
7f86048
AppLifecycle Restart API (#1134)
hamza-usmani Jan 20, 2022
c9e6cd1
Initial RequestRestartNow API (#1882)
aeloros Jan 20, 2022
92a6e64
Add MRTCore interface name and id (#1989)
huichen123 Jan 24, 2022
11e2a1a
Correct CsWinRTWindowsMetadata
j0shuams Jan 25, 2022
e0ea600
WindowsSdkPackageVersion
j0shuams Jan 25, 2022
f5be713
Suffix
j0shuams Jan 25, 2022
3ebec9f
suffix only
j0shuams Jan 25, 2022
b9e7e7a
22
j0shuams Jan 25, 2022
211fa53
Update
j0shuams Jan 25, 2022
9fc0fe1
Update dependencies from https://dev.azure.com/microsoft/ProjectReuni…
Jan 26, 2022
0780fe5
Generate cert (#1986)
DrusTheAxe Jan 26, 2022
6df1822
Merge/Port 1.0 license support into main/1.1 (#2012)
DrusTheAxe Jan 26, 2022
db1bd6d
Update to FrameworkUDK 1.1.0-CI-22541.1000.220124-0934.0 (#2019)
kythant Jan 26, 2022
51a8c99
Exclude CsWinRT.Dependency (#2021)
kythant Jan 26, 2022
a97ba0b
Bad merge fix missed copying main_license.xml to the testpackages dir…
DrusTheAxe Jan 26, 2022
4beff30
Merge pull request #2015 from j0shuams/jlarkin/cswinrt
j0shuams Jan 27, 2022
ea8a33c
Merge branch 'main' into jlarkin/cswinrt-150
j0shuams Jan 27, 2022
40461bf
Feature for sharing security descriptors (take 2) (#2005)
DefaultRyan Jan 27, 2022
64fa72e
Reworded a password prompt for clarity (#2035)
DrusTheAxe Jan 28, 2022
3d773e8
Merge pull request #2016 from j0shuams/jlarkin/cswinrt-150
j0shuams Jan 28, 2022
689f348
Remove 19h1 and add 21H1 to Helix test queue. (#2038)
kythant Jan 28, 2022
d020e69
Windows SDK version should match that of other projects (#2043)
loneursid Jan 29, 2022
93c6b28
Moving Intellisense files to single location (#2028)
EricJohnson327 Jan 29, 2022
da1c42c
Reworded a password prompt for clarity (#2045)
DrusTheAxe Jan 31, 2022
0f6218b
Enable APIscan-friendly build options (#2050)
DrusTheAxe Feb 2, 2022
e07759d
DynamicDependencies: support elevation (#2066)
DrusTheAxe Feb 4, 2022
ef2c8ad
ignore failures button'
kythant Feb 4, 2022
79314a2
Revert "ignore failures button'"
kythant Feb 4, 2022
050b994
Add button to allow publishing even if there are test failures (#2070)
kythant Feb 4, 2022
c053939
Update to FrameworkUDK 1.1.0-CI-22541.1001.220207-1139.1 (#2077)
kythant Feb 9, 2022
acc8cc9
Move CSWinRT to Toolset Dependencies in Version.Details.xml (#2084)
kythant Feb 9, 2022
95ce887
Update dependencies from https://dev.azure.com/microsoft/ProjectReuni…
Feb 10, 2022
98a4e32
Adding a non-async PowerNotificiations::EffectivePowerMode method (#2…
huzaifa-d Feb 11, 2022
5ca8019
Update dependencies from https://github.com/microsoft/CsWinRT build 1…
Feb 12, 2022
5894b4e
Update AppLifecycle StateNotifications.md (#2103)
andreww-msft Feb 22, 2022
eb62162
Update to FrameworkUDK 1.1.0-CI-22541.1002.220217-1401.0 (#2141)
kythant Feb 22, 2022
d80935c
Update MSIX package names' spec to match actual 1.0 behavior (missed …
DrusTheAxe Feb 23, 2022
f3de1c9
Merge branch 'main' into user/erlangl/WNP_ToastNotifications_L1/FI_ma…
Feb 23, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<Import Project="..\..\packages\Microsoft.SourceLink.Common.1.1.0-beta-21055-01\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.1.0-beta-21055-01\build\Microsoft.SourceLink.Common.targets')" />
<Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.1.0-beta-20204-02\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.1.0-beta-20204-02\build\Microsoft.Build.Tasks.Git.targets')" />
<Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.targets')" />
<Import Project="..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets" Condition="Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets')" />
<Import Project="..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets" Condition="Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
Expand All @@ -193,6 +193,6 @@
<Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.1.0-beta-20204-02\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.1.0-beta-20204-02\build\Microsoft.Build.Tasks.Git.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets'))" />
</Target>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Build.Tasks.Git" version="1.1.0-beta-20204-02" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.FrameworkUdk" version="1.1.0-CI-22541.1001.220207-1139.1" targetFramework="native" />
<package id="Microsoft.FrameworkUdk" version="1.1.0-CI-22541.1002.220217-1401.0" targetFramework="native" />
<package id="Microsoft.SourceLink.Common" version="1.1.0-beta-21055-01" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.SourceLink.GitHub" version="1.1.0-beta-20204-02" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.Windows.CppWinRT" version="2.0.210913.7" targetFramework="native" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
<Import Project="..\..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\..\packages\Microsoft.SourceLink.GitHub.1.1.0-beta-20204-02\build\Microsoft.SourceLink.GitHub.targets')" />
<Import Project="..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
<Import Project="..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets')" />
<Import Project="..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets" Condition="Exists('..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets')" />
<Import Project="..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets" Condition="Exists('..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
Expand All @@ -275,6 +275,6 @@
<Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
<Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
<Error Condition="!Exists('..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets'))" />
<Error Condition="!Exists('..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets'))" />
</Target>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Build.Tasks.Git" version="1.1.0-beta-20204-02" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.FrameworkUdk" version="1.1.0-CI-22541.1001.220207-1139.1" targetFramework="native" />
<package id="Microsoft.FrameworkUdk" version="1.1.0-CI-22541.1002.220217-1401.0" targetFramework="native" />
<package id="Microsoft.SourceLink.Common" version="1.1.0-beta-21055-01" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.SourceLink.GitHub" version="1.1.0-beta-20204-02" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.Windows.CppWinRT" version="2.0.210722.2" targetFramework="native" />
Expand Down
4 changes: 2 additions & 2 deletions dev/WindowsAppRuntime_DLL/WindowsAppRuntime_DLL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets" Condition="Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets')" />
<Import Project="..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets" Condition="Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets')" />
<Import Project="..\..\packages\Microsoft.Windows.CppWinRT.2.0.210913.7\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.210913.7\build\native\Microsoft.Windows.CppWinRT.targets')" />
<Import Project="..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
<Import Project="..\..\packages\Microsoft.SourceLink.Common.1.1.0-beta-21055-01\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.1.0-beta-21055-01\build\Microsoft.SourceLink.Common.targets')" />
Expand All @@ -426,7 +426,7 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1001.220207-1139.1\build\native\Microsoft.FrameworkUdk.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.FrameworkUdk.1.1.0-CI-22541.1002.220217-1401.0\build\native\Microsoft.FrameworkUdk.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.210913.7\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.210913.7\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.210913.7\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.210913.7\build\native\Microsoft.Windows.CppWinRT.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.210930.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
Expand Down
2 changes: 1 addition & 1 deletion dev/WindowsAppRuntime_DLL/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Build.Tasks.Git" version="1.1.0-beta-20204-02" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.FrameworkUdk" version="1.1.0-CI-22541.1001.220207-1139.1" targetFramework="native" />
<package id="Microsoft.FrameworkUdk" version="1.1.0-CI-22541.1002.220217-1401.0" targetFramework="native" />
<package id="Microsoft.SourceLink.Common" version="1.1.0-beta-21055-01" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.SourceLink.GitHub" version="1.1.0-beta-20204-02" targetFramework="native" developmentDependency="true" />
<package id="Microsoft.Windows.CppWinRT" version="2.0.210913.7" targetFramework="native" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ In addition, the PowerRegisterForEffectivePowerModeNotifications API is brought

| Existing API | Description | New property and event |
| -------------------------------------------------------- | --------------------------------------- | ----------------------------------------------- |
| PowerRegisterForEffectivePowerModeNotifications function | The effective power mode of the system. | `EffectivePowerMode, EffectivePowerModeChanged` |
| PowerRegisterForEffectivePowerModeNotifications function | The effective power mode of the system. Note: while the new API does include an additional EffectivePowerMode property, this should not be used: use EffectivePowerMode2 instead. | `EffectivePowerMode2, EffectivePowerModeChanged` |

The existing PowerManager class exposes only static properties and events: all members are valid to
be brought over to the Windows App SDK version. Many existing enumerated values are brought over as-is as
Expand Down Expand Up @@ -347,6 +347,7 @@ namespace Microsoft.Windows.System.Power
static event Windows.Foundation.EventHandler<Object> SystemIdleStatusChanged;

static Windows.Foundation.IAsyncOperation<EffectivePowerMode> EffectivePowerMode{ get; };
static EffectivePowerMode EffectivePowerMode2{ get; };
static event Windows.Foundation.EventHandler<Object> EffectivePowerModeChanged;

static UserPresenceStatus UserPresenceStatus{ get; };
Expand Down
30 changes: 18 additions & 12 deletions specs/Deployment/MSIXPackageVersioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ for more details.
Windows App SDK 1.0 has 4 MSIX packages

* `Microsoft.WindowsAppRuntime` aka **WARfwk**
* `Microsoft.WindowsAppRuntime.Main` aka **WARmain**
* `MicrosoftCorporationII.WinAppRuntime.Main` aka **WARmain**
* `Microsoft.WindowsAppRuntime.Singleton` aka **WARsingleton**
* `Microsoft.WindowsAppRuntime.DDLM` aka **WARddlm**
* `Microsoft.WinAppRuntime.DDLM` aka **WARddlm**

WARsingleton supplements WARmain to provide a mechanism for features needing singular global
behavior across all versions of Windows App SDK. See [Windows App SDK: MSIX Packages](https://github.com/microsoft/WindowsAppSDK/blob/main/specs/Deployment/MSIXPackage.md)
Expand Down Expand Up @@ -393,12 +393,18 @@ MinVersion
Windows App SDK 0.8+ has 3 MSIX packages. We have choices for package Name patterns for 0.8 and 1.x.

Assuming Breaking Change Boundary for v0.x and v1+'s decision are `Major.Minor` version we have the
following naming patterns...
following naming patterns release 0.x...

* WARfwk: `Microsoft.WindowsAppRuntime.<rmajor>.<rminor>[-tag]`
* WARmain: `Microsoft.WindowsAppRuntime.Main.<rmajor>.<rminor>[-tag]`
* WARddlm: `Microsoft.WindowsAppRuntime.DDLM.<major>.<minor>.<build>.<revision>-<shortarchitecture>[-shorttag]`

and release 1.x...

* WARfwk: `Microsoft.WindowsAppRuntime.<rmajor>.<rminor>[-tag]`
* WARmain: `MicrosoftCorporationII.WinAppRuntime.Main.<rmajor>.<rminor>[-shorttag]`
* WARddlm: `Microsoft.WinAppRuntime.DDLM.<major>.<minor>.<build>.<revision>-<shortarchitecture>[-shorttag]`

where

* rmajor = Major version number of the project release, base-10, no leading zeros (e.g. "1" for WindowsAppSDK 1.2)
Expand Down Expand Up @@ -429,30 +435,30 @@ This leads to package Name length issues even for common cases:
|WARfwk |Microsoft.WindowsAppRuntime.1.15-preview1|41|
|WARmain|Microsoft.WindowsAppRuntime.Main.1.15-preview1|46|
|WARmain|Microsoft.WindowsAppRuntime.Singleton-preview1|46|
|WARddlm|Microsoft.WindowsAppRuntime.DDLM.1.15.12345.24680-arm64-preview1|**<span style="color:red">64</span>**|
|WARddlm|Microsoft.WinAppRuntime.DDLM.1.15.12345.24680-arm64-preview1|**<span style="color:red">64</span>**|

|Package|Min|MinLength|
| --- | :--- | :---: |
|WARfwk |Microsoft.WindowsAppRuntime.1.0-preview1|40|
|WARmain|Microsoft.WindowsAppRuntime.Main.1.0-preview1|45|
|WARmain|Microsoft.WindowsAppRuntime.Singleton-preview1|46|
|WARddlm|Microsoft.WindowsAppRuntime.DDLM.1.0.0.0-arm64-preview1|**<span style="color:red">52</span>**|
|WARddlm|Microsoft.WinAppRuntime.DDLM.1.0.0.0-arm64-preview1|**<span style="color:red">52</span>**|

|Package|Max|MaxLength|
| --- | :--- | :---: |
|WARfwk |Microsoft.WindowsAppRuntime.65535.65535-preview1|48|
|WARmain|Microsoft.WindowsAppRuntime.Main.65535.65535-preview1|**<span style="color:red">60</span>**|
|WARmain|Microsoft.WindowsAppRuntime.Main.65535.65535-preview1|53|
|WARmain|Microsoft.WindowsAppRuntime.Singleton-preview1|46|
|WARddlm|Microsoft.WindowsAppRuntime.DDLM.65535.65535.65535.65535-arm64-preview1|**<span style="color:red">71</span>**|
|WARddlm|Microsoft.WinAppRuntime.DDLM.65535.65535.65535.65535-arm64-preview1|**<span style="color:red">71</span>**|

Possible options we can use to shorten package Name:

* Change the Name constant/prefix to a shorter string e.g. change "Microsoft.WindowsAppRuntime.Main" to "Microsoft.WinAppRuntime.Main", etc
* Dictate max values e.g. Major=0-99
* Encode values as base-16
* Replace -channel with a shorter string e.g. replace "-preview" with "-pre", "-p", "p"
* Encode the channel name in the delimiter between name+version e.g. Microsoft.WindowsAppRuntime.DDLM<span style="color:red; font-size:xx-large"><b>.preview1</b></span>.1.0.0.0-arm64
* Encode tag in the delimiter between version+architecture e.g. Microsoft.WindowsAppRuntime.DDLM.1.0.0.0<span style="color:red"><b>p1</b></span>arm64 using P1 for Preview1, E1=Experimental1, ...
* Encode the channel name in the delimiter between name+version e.g. Microsoft.WinAppRuntime.DDLM<span style="color:red; font-size:xx-large"><b>.preview1</b></span>.1.0.0.0-arm64
* Encode tag in the delimiter between version+architecture e.g. Microsoft.WinAppRuntime.DDLM.1.0.0.0<span style="color:red"><b>p1</b></span>arm64 using P1 for Preview1, E1=Experimental1, ...
* Name WARddlm differently from WARfwk and WARmain e.g. use "-p1" for WARddlm regardless if WARfwk and WARmain use "-preview1"
* ???

Expand All @@ -469,10 +475,10 @@ Windows App SDK 0.8 will use package Names of...
* WARfwk: `Microsoft.WindowsAppRuntime.<rmajor>.<rminor>[-tag]`
* WARmain: `Microsoft.WindowsAppRuntime.Main.<rmajor>.<rminor>[-tag]`
* WARsingleton: `Microsoft.WindowsAppRuntime.Singleton[-tag]`
* WARddlm: `Microsoft.WindowsAppRuntime.DDLM.<major>.<minor>.<build>.<revision>-<shortarchitecture>[-shorttag]`
* WARddlm: `Microsoft.WinAppRuntime.DDLM.<major>.<minor>.<build>.<revision>-<shortarchitecture>[-shorttag]`

Using Decision 5: Version Encoding = Option D (NPPP.E.B.0) WARddlm's maximum package Name length is
`Microsoft.WindowsAppRuntime.DDLM.1714.3944.123.24680-arm64-p3` = 58 characters. This can be reduced
`Microsoft.WinAppRuntime.DDLM.1714.3944.123.24680-arm64-p3` = 58 characters. This can be reduced
with the following rules:

* Major version <= 99
Expand Down Expand Up @@ -508,7 +514,7 @@ i.e. format encoding `NPPP.E.B.0`. See
length constraints. The specific packages Names in Windows App SDK 1.0:

* WARfwk: `Microsoft.WindowsAppRuntime.<rmajor>.<rminor>[-tag]`
* WARmain: `Microsoft.WindowsAppRuntime.Main.<rmajor>.<rminor>[-tag]`
* WARmain: `MicrosoftCorporationII.WinAppRuntime.Main.<rmajor>.<rminor>[-shorttag]`
* WARmain: `Microsoft.WindowsAppRuntime.Singleton[-tag]`
* WARddlm: `Microsoft.WinAppRuntime.DDLM.<major>.<minor>.<build>.<revision>-<shortarchitecture>[-shorttag]`

Expand Down
Loading