Describe the bug
Updated app to .net 9 getting the following error -
{System.InvalidOperationException: PushAsync is not supported, please use a NavigationPage.
at Microsoft.Maui.Controls.Window.NavigationImpl.OnPushAsync(Page page, Boolean animated) in /_/src/Controls/src/Core/Window/Window.cs:line 706
at Microsoft.Maui.Controls.Internals.NavigationProxy.PushAsync(Page root, Boolean animated) in /_/src/Controls/src/Core/NavigationProxy.cs:line 135
at Microsoft.Maui.Controls.Internals.NavigationProxy.PushAsync(Page root) in /_/src/Controls/src/Core/NavigationProxy.cs:line 127
at App.Features.Navigation.NavigationFeature.PushAsync(Page page) in D:\WS\Azure-CardiffCouncilICT\App\src\App\Features\Navigation\NavigationFeature.cs:line 70
at Maui.Plugins.PageResolver.NavigationExtensions.<PushAsync>d__2`1[[App.Routes.WasteManagement.WasteCalendar.Pages.DisplayPage, App, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at App.Routes.WasteManagement.WasteCalendar.ViewModels.AddressSearchViewModel.Search() in D:\WS\Azure-CardiffCouncilICT\App\src\App\Routes\WasteManagement\WasteCalendar\ViewModels\AddressSearchViewModel.cs:line 89}
To Reproduce
Will try to debug and see if i can see whats going on, just raising this incase anyone else has an idea
Describe the bug Updated app to .net 9 getting the following error -
To Reproduce Will try to debug and see if i can see whats going on, just raising this incase anyone else has an idea