Skip to content

WinUI Port Sync: copy verbatim files instead of porting them #26480

Closed

Description

@MartinZikmund

What would you like to be added? 💡

Let the WinUI Port Sync replace files that Uno keeps as verbatim copies of upstream files (Uno.UI's Generic.xaml is WinUI's dxaml/xcp/dxaml/themes/generic.xaml) by copying upstream's version, the way it already mirrors Strings folders, instead of sending them through the port agent.

Why is this needed? 🤔

For a verbatim copy, "porting" a diff is a plain copy-and-replace done the expensive and error-prone way: an agent run that can introduce differences into a file that must match upstream byte for byte. A deterministic copy is cheaper and exact.

For which platforms 📱💻🖥️

Build tasks

Anything else we need to know? 💬

Follow-up to #26474 and #26478. The Uno file's MUX Reference header line should stay; the rest is replaced. Uno's deltas live in a separate file (UnoGenericOverlay.xaml) that a person checks when a copy lands.

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/enhancementtriage/untriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions