Repository navigation
chore(deps): Build against the public Uno.Sdk 7.0, re-enable Hot Design in samples - #1689
MartinZikmund wants to merge 2 commits into
Conversation
Swap Uno.Sdk.Private 7.0.0-dev.2285 for the public Uno.Sdk 7.0.0-dev.130 (Uno.WinUI 7.0.0-dev.2538), so the repo no longer builds only against a private prerelease SDK. That SDK pins C# Markup 7.0.0-dev.33, so the UnoCSharpMarkupVersion override that worked around the Uno 6 Markup pin goes away. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu1AXKnxQDaBVoc86q6
Uno.Sdk 7.0 now pins Uno 7 builds of both (Uno.UI.HotDesign 2.0.0-dev.38, Uno.UI.App.Mcp 2.0.0-dev.19), so the CS0012 that forced them off in the Debug sample heads is gone. The permanent UnoDisableHotDesign in src/Directory.Build.props stays. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu1AXKnxQDaBVoc86q6
There was a problem hiding this comment.
🟡 Changes recommended
Hot Design initialization remains incomplete in three sample heads, and the checked-in flattened dictionary breaks template hot reload and changes SkeletonView theme resources.
2 open issues
What changed in this PR
This PR advances the Uno 7 follow-ups in #1645 by switching Toolkit libraries and sample apps to the public Uno SDK and removing temporary tooling workarounds.
Changes:
- Switch project SDK references to public
Uno.Sdk, pinned to7.0.0-dev.130. - Remove the C# Markup version override and sample-level Hot Design/App MCP disable switches.
- Update SDK documentation and replace the tracked generated XAML dictionary with flattened Release output.
| File | Description |
|---|---|
src/Uno.Toolkit.UI/Uno.Toolkit.WinUI.csproj |
Switch base controls to the public SDK. |
src/Uno.Toolkit.UI/Generated/mergedpages.xaml |
Replace Debug dictionary references with flattened resources. |
src/Uno.Toolkit.Skia.WinUI/Uno.Toolkit.Skia.WinUI.csproj |
Switch Skia library to the public SDK. |
src/Uno.Toolkit.RuntimeTests/Uno.Toolkit.RuntimeTests.csproj |
Switch runtime tests to the public SDK. |
src/library/Uno.Toolkit.WinUI.Material.Markup/Uno.Toolkit.WinUI.Material.Markup.csproj |
Switch Material markup library to the public SDK. |
src/library/Uno.Toolkit.WinUI.Markup/Uno.Toolkit.WinUI.Markup.csproj |
Switch markup library to the public SDK. |
src/library/Uno.Toolkit.Simple/Uno.Toolkit.WinUI.Simple.csproj |
Switch Simple styles to the public SDK. |
src/library/Uno.Toolkit.Material/Uno.Toolkit.WinUI.Material.csproj |
Switch Material styles to the public SDK. |
src/library/Uno.Toolkit.Cupertino/Uno.Toolkit.WinUI.Cupertino.csproj |
Switch Cupertino styles to the public SDK. |
src/Directory.Packages.props |
Remove the C# Markup version override. |
samples/Uno.Toolkit.Samples.ThemeWrapper/ToolkitSampleApp.csproj |
Switch theme wrapper to the public SDK. |
samples/Uno.Toolkit.Samples.Simple/SimpleSampleApp.csproj |
Switch Simple sample to the public SDK. |
samples/Uno.Toolkit.Samples.Material/MaterialSampleApp.csproj |
Switch Material sample to the public SDK. |
samples/Uno.Toolkit.Samples.Cupertino/CupertinoSampleApp.csproj |
Switch Cupertino sample to the public SDK. |
samples/Directory.Build.props |
Remove Hot Design and App MCP disable switches. |
global.json |
Pin public Uno.Sdk to 7.0.0-dev.130. |
AGENTS.md |
Update the documented SDK name. |
Review effort: Balanced
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1689.eastus2.azurestaticapps.net |
|
Tick the box to add this pull request to the merge queue (same as
|

GitHub Issue (If applicable): relates to #1645
PR Type
What is the current behavior?
Since the 7.0 retarget (#1635) the repo builds only against the private
Uno.Sdk.Private(7.0.0-dev.2285). Two workarounds from that retarget are also still in place:UnoCSharpMarkupVersionis overridden to7.0.0-dev.33because the SDK used to pin the Uno 6 C# Markup line (UNOB0020).UnoDisableHotDesign/UnoDisableMCPSupportare forced on in the Debug sample heads, because Hot Design and App MCP had no Uno 7 builds (CS0012).What is the new behavior?
Covers the first two items of section 1 of #1645, and the first item of section 2:
global.jsonand the 11 projects use the publicUno.Sdk7.0.0-dev.130(Uno.WinUI7.0.0-dev.2538, C# Markup7.0.0-dev.33, Hot Design2.0.0-dev.38, App MCP2.0.0-dev.19, Themes9.0.0-dev.61).AGENTS.mdupdated to match.UnoCSharpMarkupVersionoverride is gone. The SDK pin now matches it.UnoDisableHotDesigninsrc/Directory.Build.props(NU1108 cycle) stays.Still open in #1645 (not in this PR):
UnoThemesVersionis still a dev build (9.0.0-dev.56). It moves when Uno.Themes ships a stable 9.0.10.0.101pin waits on auno.checkwhose required SDK and workload bands match.Uno.Themes.WinUI.Markupruntime check, and everything in sections 3 and 4.PR Checklist
AGENTS.mdonly)Other information
Validation (local, Windows, .NET SDK 10.0.401):
MaterialSampleAppDebugnet10.0-desktopbuilds with 0 errors. That also buildsUno.Toolkit.WinUI,.Material,.Simple,.Skia.WinUIandUno.Toolkit.RuntimeTestsfrom source.project.assets.jsonresolvesUno.UI.HotDesign2.0.0-dev.38 andUno.UI.App.Mcp2.0.0-dev.19, and Toolkit only as project references (no package copy pulled in by Hot Design).Uno.Toolkit.WinUI.Material.Markup(net10.0, Release) builds, resolvingUno.WinUI.Markup7.0.0-dev.33 from the SDK and no UNOB0020.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNu1AXKnxQDaBVoc86q6