mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
Cherry-pick of 782ee47. That is probably over-aggressive, but it fixes
it.
Closes #40633
previously: #40744
---------
Co-authored-by: Yu Leng (from Dev Box) <yuleng@microsoft.com>
24 lines
1.2 KiB
XML
24 lines
1.2 KiB
XML
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
|
|
<Application>
|
|
<Assembly Name="Microsoft.WinUI">
|
|
<Type Name="Microsoft.UI.Xaml.Controls.FontIconSource" Dynamic="Required All" />
|
|
<Type Name="Microsoft.UI.Xaml.DataTemplate" Dynamic="Required All" />
|
|
<Type Name="Microsoft.UI.Xaml.Controls.DataTemplateSelector" Dynamic="Required All" />
|
|
<Type Name="Microsoft.UI.Xaml.Controls.ListViewItem" Dynamic="Required All" />
|
|
</Assembly>
|
|
|
|
<!-- Add ViewModel types for AOT compatibility -->
|
|
<Assembly Name="Microsoft.CmdPal.Core.ViewModels">
|
|
<Type Name="Microsoft.CmdPal.Core.ViewModels.CommandContextItemViewModel" Dynamic="Required All" />
|
|
<Type Name="Microsoft.CmdPal.Core.ViewModels.SeparatorContextItemViewModel" Dynamic="Required All" />
|
|
<Type Name="Microsoft.CmdPal.Core.ViewModels.IContextItemViewModel" Dynamic="Required All" />
|
|
<Type Name="Microsoft.CmdPal.Core.ViewModels.CommandItemViewModel" Dynamic="Required All" />
|
|
</Assembly>
|
|
|
|
<!-- Add UI types for AOT compatibility -->
|
|
<Assembly Name="Microsoft.CmdPal.UI">
|
|
<Type Name="Microsoft.CmdPal.UI.ContextItemTemplateSelector" Dynamic="Required All" />
|
|
</Assembly>
|
|
</Application>
|
|
</Directives>
|