Skip to content

WinUI viewer: make the build reproducible (CsWinRT generator output order) #618

Backlog

Description

@michaelstonis

Broadside.Viewer.WinUI's assembly and PDB differ between two builds of the same commit, because CsWinRT's source generator writes its generated files in a nondeterministic order. For 1.0, tools/PackageCheck/check-reproducible.sh reports WinUI as a warning-only exception (owner-track decision during #265), and the 1.0 notes list it as a known limitation.

  • File an upstream issue on microsoft/CsWinRT with a minimal repro.
  • Once a fixed CsWinRT ships, update it and remove the --except Broadside.Viewer.WinUI exception and the known-limitations entry.

Activity

  1. added this to the Post-v1 milestone on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions