Fix System.InvalidCastException: Specified cast is not valid. in AppShell.SidebarButton_Tapped (Object sender, TappedEventArgs e) (/Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/Main/AppShell.xaml.cs:207)
Closed this issue · 0 comments
thewizrd commented
Version 5.9.2(859200)
Stacktrace
SimpleWeather.Maui.Main.AppShell.SidebarButton_Tapped(Object sender, TappedEventArgs e) in /Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/Main/AppShell.xaml.cs:line 207;SimpleWeather.Maui.Main
SimpleWeather.Maui.Program.Main(String[] args) in /Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/Platforms/MacCatalyst/Program.cs:line 13;SimpleWeather.Maui
Reason
System.InvalidCastException: Specified cast is not valid.