question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blazor Hot Reload is not fully working

See original GitHub issue

Description

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

  1. Create a new Project MAUI Blazor

  2. Start the project (Android or Windows, does not matter)

  3. 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:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
MaTToX3commented, Mar 17, 2022

Still an issue in preview 14 and VS Version 17.2.0 Preview 2.0.

1reaction
Redthcommented, Mar 24, 2022

Closing as a duplicate of #4989 - you can track progress there. Thanks 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found