Skip to content

Renaming properties not propogating to XAML #10987

@HEIC-to-JPEG-Dev

Description

@HEIC-to-JPEG-Dev

Describe the bug

When renaming c# properties, in a viewmodel or in the .cs file of a page; the XAML bindings are not updated correctly. Sometimes not at all, and sometime the rename is prefixed to the property name in the binding

Why is this important?

Renaming should rename all instances, not some. It means compilation failures and, due to no background compilation of xaml, means the issues are only detected on rebuild or app run (compilaiton fails)

Steps to reproduce the bug

Rename a property that xaml x:binds to

Actual behavior

XAML properties are not renamed or wrongly renamed

Expected behavior

Renaming should not cause app compilation failures

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.8.3: 1.8.251106002

Windows version

Windows 11 (24H2): Build 26100

Additional context

The renaming service is tempromental at best, it often fails and a banner shows up in VS saying the service failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageIssue needs to be triaged by the area owners

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions