-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot Reload on MAUI Blazor App does not works. #2527
Comments
Hi @HeroinGyrl , we're still working on getting some Hot Reload scenarios working. It does already work in a limited capacity on some platforms, but it isn't fully functional everywhere. On which platform were you trying to use Hot Reload? |
hey @Eilon I created the latest MAUI Blazor App template and started debugging on windows whenever I change something it doesnt worked. I use Visual Studio Preview 2022 4 and the latest .NET 6 version |
Got it. There's a known issue right now that to get Blazor to re-render your updates in *.razor files you need to click somewhere in Blazor (such as on a button) and then it will re-render that part of the UI. It's supposed to be 100% automatic but there's a bug right now preventing that. |
For WinForms,
I think similar problems will occur on WPF and MAUI too (except on MAUI, @pranavkm @mkArtakMSFT Since fixing this might involve VS changes (e.g., to issue change notifications when |
Here is the issue tracking the CSS Hot Reload work for MAUI: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1453953 |
Repro , attached the repro sample MauiApp15.zip |
Hot reload and .net does not come hand in hand... Without proper hot reload - building apps with blazor is almost useless. |
For WinUI,
|
@mkArtakMSFT To the best of my recollection, Pranav was the main one coordinating a plan for getting hot reload to work. This likely involves some tooling work. Do you know if someone is now looking at this? Hot reload is something we can't leave waiting as we may be dependent on other teams to make this work in VS. |
Hot reload for .NET MAUI Blazor apps is blocked on https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1471373, which is expected to be fixed in VS 17.3 P1. |
Closing this as the work on the Blazor side is done. The end to end experience, however, will light up only after related VS changes will be made, which is planned to happen for VS 17.3-preview1. |
Whenever i start debugging the Maui Blazor App and do any changes the live preview is not changing. I already checked all options in the settings. do I need to activate something?
The text was updated successfully, but these errors were encountered: