You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
When no route is found, the followin exception is thrown.
Relative routing to shell elements is currently not supported. Try prefixing your uri with ///: ///{originalRequest}
Because you are led astray by the hints in some situations I would therefore like to add global routing via Routing.RegisterRoute().
When I am on it I don't think that the first sentence is very helpful either. Because it's not entirely clear in some situations what it refers to. So I rather have something like 'Route not found.'
So my suggestion would be to rewrite it to (I removed originalRequest because in my case that is very long and that could lead to TLDR;):
Route not found. Possible solutions could be prefixing your uri with '//' or '///' to use relative routing or register the route as global route for detail page routing.
Thanks for the suggestion! This is probably not something we're going to add for Xamarin.Forms anymore since it will go out of support on May 1st. You're welcome to open this suggestion for .NET MAUI if this is still something that needs improvement over there as well!
When no route is found, the followin exception is thrown.
Relative routing to shell elements is currently not supported. Try prefixing your uri with ///: ///{originalRequest}
Because you are led astray by the hints in some situations I would therefore like to add global routing via Routing.RegisterRoute().
When I am on it I don't think that the first sentence is very helpful either. Because it's not entirely clear in some situations what it refers to. So I rather have something like 'Route not found.'
So my suggestion would be to rewrite it to (I removed originalRequest because in my case that is very long and that could lead to TLDR;):
Route not found. Possible solutions could be prefixing your uri with '//' or '///' to use relative routing or register the route as global route for detail page routing.
This refers to:
Xamarin.Forms/Xamarin.Forms.Core/Shell/ShellUriHandler.cs
Line 394 in 88b70ad
Navigation docs: https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/shell/navigation?view=net-maui-8.0
The text was updated successfully, but these errors were encountered: