Skip to content

chore(deps): Build against the public Uno.Sdk 7.0, re-enable Hot Design in samples - #1689

Open
MartinZikmund wants to merge 2 commits into
mainfrom
dev/mazi/unpin-sdk
Open

MartinZikmund wants to merge 2 commits into
mainfrom
dev/mazi/unpin-sdk

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): relates to #1645

PR Type

  • Build or CI related changes

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:

  • UnoCSharpMarkupVersion is overridden to 7.0.0-dev.33 because the SDK used to pin the Uno 6 C# Markup line (UNOB0020).
  • UnoDisableHotDesign / UnoDisableMCPSupport are 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.json and the 11 projects use the public Uno.Sdk 7.0.0-dev.130 (Uno.WinUI 7.0.0-dev.2538, C# Markup 7.0.0-dev.33, Hot Design 2.0.0-dev.38, App MCP 2.0.0-dev.19, Themes 9.0.0-dev.61). AGENTS.md updated to match.
  • The UnoCSharpMarkupVersion override is gone. The SDK pin now matches it.
  • Hot Design and App MCP are back on in the Debug sample heads. The permanent UnoDisableHotDesign in src/Directory.Build.props (NU1108 cycle) stays.

Still open in #1645 (not in this PR):

  • UnoThemesVersion is still a dev build (9.0.0-dev.56). It moves when Uno.Themes ships a stable 9.0.
  • The .NET SDK 10.0.101 pin waits on a uno.check whose required SDK and workload bands match.
  • The hot-reload TFM narrowing, the Uno.Themes.WinUI.Markup runtime check, and everything in sections 3 and 4.

PR Checklist

  • Tested the changes where applicable:
    • All platforms
    • WebAssembly
    • Android
    • iOS
    • tvOS
    • Desktop (Windows)
    • Desktop (macOS)
    • Desktop (X11)
    • Desktop (Linux Framebuffer)
    • Windows App SDK
  • Updated the documentation as needed: not needed (AGENTS.md only)
  • Runtime Tests and/or UI Tests for the changes have been added: not applicable (build config)
  • Contains NO breaking changes
  • Associated with an issue (GitHub or internal)
  • Commits must be following the Conventional Commits specification.

Other information

Validation (local, Windows, .NET SDK 10.0.401):

  • Compile: MaterialSampleApp Debug net10.0-desktop builds with 0 errors. That also builds Uno.Toolkit.WinUI, .Material, .Simple, .Skia.WinUI and Uno.Toolkit.RuntimeTests from source. project.assets.json resolves Uno.UI.HotDesign 2.0.0-dev.38 and Uno.UI.App.Mcp 2.0.0-dev.19, and Toolkit only as project references (no package copy pulled in by Hot Design).
  • Compile: Uno.Toolkit.WinUI.Material.Markup (net10.0, Release) builds, resolving Uno.WinUI.Markup 7.0.0-dev.33 from the SDK and no UNOB0020.
  • Runtime: the Debug Material sample (with the Hot Design and MCP client assemblies in its output) launches on Win32 and stays up with its main window. It ran without a DevServer, so the Hot Design session itself was not exercised.
  • Not run locally: mobile, WASM and Windows App SDK heads, and the other sample heads. Left to CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TXMNu1AXKnxQDaBVoc86q6

MartinZikmund and others added 2 commits November 3, 2026 15:41
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
Copilot AI balanced review requested due to automatic review settings November 3, 2026 14:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 to 7.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

Comment thread samples/Directory.Build.props Resolved
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

@mergify

mergify Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants