Blazor Hot Reload is not fully working
See original GitHub issueDescription
The Hot Reload Feature is not fully working.
I tried to change <h1> Hello world </h1>. This only worked after i switched away from this view and came back.
What worked instant is, when i changed the method on the Counter.page. Changing from currentCount++ to currentCound = currentCount +2 worked as expected.
Steps to Reproduce
-
Create a new Project MAUI Blazor
-
Start the project (Android or Windows, does not matter)
-
Try to change some text.
Version with bug
Preview 11
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
Visual Studio 2022 17.1.0 Preview 2
Did you find any workaround?
No response
Relevant log output
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
net 6 blazor wasm hot reload not working
I'm using Visual Studio 2022 and created a new Blazor webassembly app and ran it. The option for hot reload on file save...
Read more >Hot Reload Stopped Working Blazor WASM · Issue #43035
Hot reload worked well back then and into early 2022. I went to do some more work on this project and now hot...
Read more >Hot Reload stopped working [Server] : r/Blazor
My hot reload seems to have randomly stopped working with Blazor Server. The output is indicating that it should be working fine
Read more >Mastering Blazor - Part 2: Hot Reloading
Hot-reload is not enabled by default: To use the hot-reload feature in Blazor, you need to explicitly enable it in your project. This...
Read more >Hot Reload Not working Blazor WASM - Microsoft Q&A
Client is blazor, Server is asp.net core WebAPI and I tried by creating new project from template the hot reload works fine in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Still an issue in preview 14 and VS Version 17.2.0 Preview 2.0.
Closing as a duplicate of #4989 - you can track progress there. Thanks 😃