Hi,
I am having an issue with the MAUI controls. When the page calls the InitializeComponent an error is thrown:
{System.IO.FileNotFoundException:
File name: 'Telerik.Maui.Controls.Compatibility.resources'
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext)
at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(Assembly assembly, CultureInfo culture, Version version, Boolean throwOnFileNotFound)}
Any help would be appreciated.
It happens only when this part of the code is in the page, and on Android only. It works on Windows.
<telerikDataGrid:RadDataGrid
Grid.Row="2"
ItemsSource="{Binding StockDropsMessages}"
AutoGenerateColumns="False"
MaximumHeightRequest="200">
<telerikDataGrid:RadDataGrid.Columns>
<telerikDataGrid:DataGridTextColumn PropertyName="Content" HeaderText="StockDrops Messages" />
</telerikDataGrid:RadDataGrid.Columns>
</telerikDataGrid:RadDataGrid>
<telerikDataGrid:RadDataGrid
Grid.Row="3"
ItemsSource="{Binding FilterMessages}"
AutoGenerateColumns="False"
MaximumHeightRequest="200">
<telerikDataGrid:RadDataGrid.Columns>
<telerikDataGrid:DataGridTextColumn PropertyName="Content" HeaderText="Recently Filtered" />
</telerikDataGrid:RadDataGrid.Columns>
</telerikDataGrid:RadDataGrid>
Thanks!
Greetings Enrique,
I have created a new project and added the code snippet you have provided.
Built and ran the application and got the following result:
Looking at the error message, I suggest you open the file explorer and delete the bin and obj folders, clean and rebuild the solution in Visual Studio.
I added my sample app for reference so you can directly download it and give it a try.
Let me know if you still experience the issue.
Regards.
Antoan