When compiling Material.Avalonia.DataGrid for Android using the standard Avalonia cross-platform template, it fails to compile and throws the error
1>Microsoft.Android.Sdk.ILLink.targets(106,5): Error MSB4096 : The item "Material.Avalonia.DataGrid" in item list "TrimmerRootAssembly" does not define a value for metadata "RootMode". In order to use this metadata, either qualify it by specifying %(TrimmerRootAssembly.RootMode), or ensure that all items in this list define a value for this metadata.
That will just make Avalonia fail to compile instead.
Reproduction Steps
Create a new app using cross-platform avalonia template
Install Material.Avalonia.DataGrid
Compile Android in release
You should now get the error during compilation
Expected Behavior
Create a new app using cross-platform avalonia template
Install Material.Avalonia.DataGrid
Compile Android in release
It should successfully compile
Actual Behavior
You should get the error during compilation in Release mode for Android
1>Microsoft.Android.Sdk.ILLink.targets(106,5): Error MSB4096 : The item "Material.Avalonia.DataGrid" in item list "TrimmerRootAssembly" does not define a value for metadata "RootMode". In order to use this metadata, either qualify it by specifying %(TrimmerRootAssembly.RootMode), or ensure that all items in this list define a value for this metadata.
Usage Information
2.1.10 / 11.1.0 / Windows 11
Description
When compiling Material.Avalonia.DataGrid for Android using the standard Avalonia cross-platform template, it fails to compile and throws the error
Doing
Solves nothing, nor does
That will just make Avalonia fail to compile instead.
Reproduction Steps
Expected Behavior
Actual Behavior
You should get the error during compilation in Release mode for Android
Regression?
No response
Known Workarounds
No response
Anything else?
No response
Could you help with a pull-request?
No
Is there an existing issue for this?