We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using trimming and NativeAOT, there is a trim warning when accessing BindingPlugins.DataValidators.
BindingPlugins.DataValidators
Untested, but should happen when creating a new Mvvm Toolkit project from templates.
Relevant project settings:
<PropertyGroup Label="AOT-related"> <PublishTrimmed>true</PublishTrimmed> <PublishAot>true</PublishAot> <IsTrimmable>true</IsTrimmable> <EnableTrimAnalyzer>true</EnableTrimAnalyzer> <EnableAotAnalyzer>true</EnableAotAnalyzer> <EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer> <TrimmerSingleWarn>false</TrimmerSingleWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="AOT Release"> <DebugSymbols>False</DebugSymbols> <DebugType>None</DebugType> <TrimmerRemoveSymbols>true</TrimmerRemoveSymbols> </PropertyGroup>
Project is located at https://github.com/stevemonaco/AvaloniaViewModelFirstDemos/tree/master/AvaloniaCommunityToolkitAot
No trim warning.
11.2.3
Windows
Avalonia/src/Avalonia.Base/Data/Core/Plugins/BindingPlugins.cs
Lines 9 to 10 in 06ab709
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When using trimming and NativeAOT, there is a trim warning when accessing
BindingPlugins.DataValidators
.To Reproduce
Untested, but should happen when creating a new Mvvm Toolkit project from templates.
Relevant project settings:
Project is located at https://github.com/stevemonaco/AvaloniaViewModelFirstDemos/tree/master/AvaloniaCommunityToolkitAot
Expected behavior
No trim warning.
Avalonia version
11.2.3
OS
Windows
Additional context
Avalonia/src/Avalonia.Base/Data/Core/Plugins/BindingPlugins.cs
Lines 9 to 10 in 06ab709
The text was updated successfully, but these errors were encountered: