Could not bind nullabel Guid with `Binding` in attached properties

Author: SongOfYouthCreated Aug 31, 2026Updated Sep 30, 2026
Labelsbugarea-XamlCompilerteam-Core

Describe the bug

it will raise a Microsoft.UI.Xaml.Markup.XamlParseException:“无法找到与此错误代码关联的文本。Failed to assign to property xxxxx error when binding a nullable guid property to the attached property, and it's ok when using x:Bind.

Why is this important?

it's ok when using x:Bind or using binding on uno.

Steps to reproduce the bug

  • define a attached property witch receiving a Guid? or Guid input.
  • bind it with a Guid? property via Binding.

Actual behavior

No response

Expected behavior

No response

Screenshots

No response

NuGet package version

1.7.250909003

Windows version

Windows 11 (25H2): Build 26200

Additional context

No response

Source: microsoft/microsoft-ui-xaml