Describe the bug
When I use code to dynamically create a MarkdownTextBlock, the entire program crashes, and the exception is not caught by the default settings of VS 2026.

When I turn off AOT, the program works normally.
Steps to reproduce
1. Enable AOT in the project
2. Use the MarkdownTextBlock component
Expected behavior
If everything is normal, MarkdownTextBlock should work properly.
Screenshots
Code Platform
Windows Build Number
Other Windows Build number
26200.7840
App minimum and target SDK version
Other SDK version
26100.7705
Visual Studio Version
No response
Visual Studio Build Number
18.3.0
Device form factor
Desktop
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.
Describe the bug
When I use code to dynamically create a MarkdownTextBlock, the entire program crashes, and the exception is not caught by the default settings of VS 2026.

When I turn off AOT, the program works normally.
Steps to reproduce
Expected behavior
If everything is normal, MarkdownTextBlock should work properly.
Screenshots
Code Platform
Windows Build Number
Other Windows Build number
26200.7840
App minimum and target SDK version
Other SDK version
26100.7705
Visual Studio Version
No response
Visual Studio Build Number
18.3.0
Device form factor
Desktop
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.