Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
I tried following the community toolkit c# markup hot reload page.
But on MacOs i can't get it working for Mac, Ios or android.
Also the example HotReloadHandler has an error on the line: var currentPageShellRoute = AppShell.GetRoute(type);
I don't know what i should use instead.
When i do try running the project nothing changes.
And when using dotnet watch it immediately says: Exited
I use Rider and VsCode, but with both i can't get it working.
Expected Behavior
See changes in the frontend that you made in code.
For example changing text, or the color of something.
Steps To Reproduce
- Create default MAUI app
- install the community toolkit nugets for markup and maui
- add the nugets to the builder, like .UseCommunityToolkitMarkup()
- Delete the xaml files, just keep MainPage.cs
- Create a simple hello world markup
- copy paste the example handler
- make changes to the UI code
- try hot reload
Link to public reproduction project repository
https://github.com/kayverhaegh/MauiApp1
Environment
- .NET MAUI CommunityToolkit maui: 14
- .NET MAUI CommunityToolkit markup: 7
- OS: MacOs 26.2
- .NET MAUI: 10.0.1
Anything else?
No response
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
I tried following the community toolkit c# markup hot reload page.
But on MacOs i can't get it working for Mac, Ios or android.
Also the example HotReloadHandler has an error on the line: var currentPageShellRoute = AppShell.GetRoute(type);
I don't know what i should use instead.
When i do try running the project nothing changes.
And when using dotnet watch it immediately says: Exited
I use Rider and VsCode, but with both i can't get it working.
Expected Behavior
See changes in the frontend that you made in code.
For example changing text, or the color of something.
Steps To Reproduce
Link to public reproduction project repository
https://github.com/kayverhaegh/MauiApp1
Environment
Anything else?
No response