fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.45k stars 726 forks source link

Run time error after update to MudBlazor Version 5.1.5 #343

Open T-Alkathiri opened 2 years ago

T-Alkathiri commented 2 years ago

Dear Mukesh Thank you very much for the greate template for BlazorHero. I create a new project with the template and every thing works fine (with MudBlazor version 5.1.4). But when Updated MudBlazor to version 5.1.5 I got the following run time error : System.MissingMethodException: Method not found: void MudBlazor.Palette.set_Primary(string)

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: The type initializer for 'BlazorHero.CleanArchitecture.Client.Infrastructure.Settings.BlazorHeroTheme' threw an exception.

Could you please kindly help me solving this issue, because I really liked the template and want to continue for all upcoming projects with it. But this error confused me and can not make any decision weather to continue with Blazor Hero or just skip it. Thank you very much for your time and effort.

yadoy666 commented 2 years ago

Hi @T-Alkathiri , have you try to change and to ? In my case i have successfully update mudblazor with the latest version with a little change above. And don't forget to force reload your browser (CTRL + F5) after making changes.

T-Alkathiri commented 2 years ago

Yes I have changed the ? to the latest version, and I did (CTRL + F5) in the browser but I still have the error. BlazorHero.CleanArchitecture.Client.Infrastructure.Settings.BlazorHeroTheme' threw an exception. Thank you very much.