Telerik.Maui.Controls.Compatibility.resources file not found

0 Answers 616 Views
DataGrid
Enrique
Top achievements
Rank 1
Enrique asked on 28 Nov 2021, 06:02 AM | edited on 28 Nov 2021, 06:37 AM

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!



Antoan
Telerik team
commented on 29 Nov 2021, 01:06 PM

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

No answers yet. Maybe you can help?

Tags
DataGrid
Asked by
Enrique
Top achievements
Rank 1
Share this question
or