Describe the bug
When using LayoutTransformControl, running the application after publishing with AOT results in a crash. I will provide a simple WinUI sample program.
You can copy the following code into a test project, publish it, and then run the application.
<controls:LayoutTransformControl>
<controls:LayoutTransformControl.Transform>
<RotateTransform x:Name="Rotate" />
</controls:LayoutTransformControl.Transform>
<Border Width="20"
Height="100"
Background="Green"
BorderBrush="Black"
BorderThickness="1" />
</controls:LayoutTransformControl>
public double Angle { get => Rotate.Angle; set => Rotate.Angle = value; }
Expected behavior
Run the AOT published version normally.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
17.14.2
Device form factor
Desktop
Additional context
App1.zip
Help us help you
Yes, I'd like to be assigned to work on this item.
Describe the bug
When using LayoutTransformControl, running the application after publishing with AOT results in a crash. I will provide a simple WinUI sample program.
You can copy the following code into a test project, publish it, and then run the application.
Expected behavior
Run the AOT published version normally.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
17.14.2
Device form factor
Desktop
Additional context
App1.zip
Help us help you
Yes, I'd like to be assigned to work on this item.