From 523c5fa201eee3d9202103a04fbcbc037e86328c Mon Sep 17 00:00:00 2001 From: Scott Jones Date: Fri, 25 Sep 2026 17:59:59 -0400 Subject: [PATCH 1/9] Import monobuild LKG versions from parent Preserve standalone package defaults while allowing an explicitly staged mono-build version source to override internal dependency versions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4f305b34-2314-4973-801a-ecaa76c9aa58 --- Directory.Packages.props | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Directory.Packages.props b/Directory.Packages.props index 53d89afeec..73ad6b9849 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -11,6 +11,10 @@ Mono-build override: when $(WindowsAppSDKVersionPinned) is set, all internal WinAppSDK package versions are pinned to that value instead of their fallback defaults. + + When this repository is checked out beneath a mono-build package configuration, the parent + package-version file is imported last for LKG overrides. Its CPM settings and item list are + suppressed so this repository retains its own package inventory and metadata. --> @@ -123,4 +127,14 @@ + + + <_WindowsAppSDKParentDirectoryPackagesProps Condition="'$(WindowsAppSDKUseParentPackageVersions)' == 'true'">$([MSBuild]::GetPathOfFileAbove('WindowsAppSDK.ParentPackageVersions.props', '$(MSBuildThisFileDirectory)..\')) + true + + + + $(MicrosoftWindowsAppSDKBasePackagePackageVersion) + $(MicrosoftWindowsAppSDKInteractiveExperiencesPackagePackageVersion) + \ No newline at end of file From 7c62269e2798403ec2929b8a652486cf607f44b2 Mon Sep 17 00:00:00 2001 From: Scott Jones Date: Sat, 26 Sep 2026 12:42:16 -0400 Subject: [PATCH 2/9] Chain monobuild package versions from parent Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4f305b34-2314-4973-801a-ecaa76c9aa58 --- Directory.Packages.props | 43 +++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 73ad6b9849..1c42946583 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -13,13 +13,13 @@ package versions are pinned to that value instead of their fallback defaults. When this repository is checked out beneath a mono-build package configuration, the parent - package-version file is imported last for LKG overrides. Its CPM settings and item list are - suppressed so this repository retains its own package inventory and metadata. + Directory.Packages.props is imported last and supplies the package inventory and versions. --> true true + $([MSBuild]::GetPathOfFileAbove('Directory.Packages.props', '$(MSBuildThisFileDirectory)..\')) - + $([MSBuild]::ValueOrDefault('$(WindowsAppSDKVersionPinned)', '2.0.6-dev.experimental1')) $([MSBuild]::ValueOrDefault('$(WindowsAppSDKVersionPinned)', '3.0.0-experimental-27300.1896.260713-1015.0')) $([MSBuild]::ValueOrDefault('$(WindowsAppSDKVersionPinned)', '3.0.0-experimental-27300.1896.260713-1015.0')) @@ -79,7 +79,7 @@ ═══════════════════════════════════════════════════════════════════════ --> - + @@ -89,28 +89,28 @@ - - - - - + + + + + - - - + + + - + - + @@ -128,13 +128,16 @@ - - <_WindowsAppSDKParentDirectoryPackagesProps Condition="'$(WindowsAppSDKUseParentPackageVersions)' == 'true'">$([MSBuild]::GetPathOfFileAbove('WindowsAppSDK.ParentPackageVersions.props', '$(MSBuildThisFileDirectory)..\')) - true - - - + + $(MicrosoftWindowsAppSDKBasePackagePackageVersion) $(MicrosoftWindowsAppSDKInteractiveExperiencesPackagePackageVersion) + + + + + + + \ No newline at end of file From d780d7a148b3760f9f8eea5c4b90680812e1ed94 Mon Sep 17 00:00:00 2001 From: Scott Jones Date: Sat, 26 Sep 2026 13:01:45 -0400 Subject: [PATCH 3/9] Import monobuild package versions directly Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4f305b34-2314-4973-801a-ecaa76c9aa58 --- Directory.Packages.props | 48 ++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 27 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 1c42946583..0de85a18f0 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,14 +12,14 @@ Mono-build override: when $(WindowsAppSDKVersionPinned) is set, all internal WinAppSDK package versions are pinned to that value instead of their fallback defaults. - When this repository is checked out beneath a mono-build package configuration, the parent - Directory.Packages.props is imported last and supplies the package inventory and versions. + When this repository is checked out beneath a mono-build package configuration, + WindowsAppSDK.PackageVersion.props is imported last and supplies internal package versions. --> true true - $([MSBuild]::GetPathOfFileAbove('Directory.Packages.props', '$(MSBuildThisFileDirectory)..\')) + $([MSBuild]::GetPathOfFileAbove('WindowsAppSDK.PackageVersion.props', '$(MSBuildThisFileDirectory)..\')) - + $([MSBuild]::ValueOrDefault('$(WindowsAppSDKVersionPinned)', '2.0.6-dev.experimental1')) $([MSBuild]::ValueOrDefault('$(WindowsAppSDKVersionPinned)', '3.0.0-experimental-27300.1896.260713-1015.0')) $([MSBuild]::ValueOrDefault('$(WindowsAppSDKVersionPinned)', '3.0.0-experimental-27300.1896.260713-1015.0')) @@ -73,13 +73,19 @@ 3.21.12 + + + $(MicrosoftWindowsAppSDKBasePackagePackageVersion) + $(MicrosoftWindowsAppSDKInteractiveExperiencesPackagePackageVersion) + + - + @@ -89,28 +95,28 @@ - - - - - + + + + + - - - + + + - + - + @@ -128,16 +134,4 @@ - - - $(MicrosoftWindowsAppSDKBasePackagePackageVersion) - $(MicrosoftWindowsAppSDKInteractiveExperiencesPackagePackageVersion) - - - - - - - - \ No newline at end of file From bf68280153d8f5e1c95c88943374e33ad13b836c Mon Sep 17 00:00:00 2001 From: Scott Jones Date: Sat, 26 Sep 2026 14:58:06 -0400 Subject: [PATCH 4/9] Discover shared versions from repository root Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4f305b34-2314-4973-801a-ecaa76c9aa58 --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 0de85a18f0..6efdd6028d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -19,7 +19,7 @@ true true - $([MSBuild]::GetPathOfFileAbove('WindowsAppSDK.PackageVersion.props', '$(MSBuildThisFileDirectory)..\')) + $([MSBuild]::GetPathOfFileAbove('WindowsAppSDK.PackageVersion.props', '$(MSBuildThisFileDirectory)'))