Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

504
Views
Why isn't Blazor Hot Reload working as expected after a fresh install?

I wanted to try the hot relaod in Blazor .Net 6.

So I installed VS 2022 Preview with the latest .Net 6 Preview 7.

I started a clean new Blazor WASM, stared it (in debug mode) without any change, watched the result in the browser, made a simple change in the html and in the code, saved and click on the hot reload button (VS tells me that changed have been successfully applied) but there are no changes in the browser, not even if i reload the page (I have to recompile to see the changes).

I also tried in the console with dotnet watch, when I've made a change, the console said watch : File changed: XXX. watch : Hot reload of changes succeeded., but still no updates on the browser, even if I reload the page.

It acts like if there was no underlying recompilation or if Kestrel doesn't reload the newly created dll (but I've also tried IIS Express with no better results)...

When I watch some videos about it on Youtube, it seems to work without any other configuration, same on some blog posts.

What could be wrong?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You're probably running into this bug:
https://github.com/dotnet/aspnetcore/issues/35339#issuecomment-898706237.

... Unfortunately we had a last minute regression in the WASM runtime that crept in to our preview7 build which manifested as this error. This is resolved in our rc.1 builds. You could grab our nightly builds at https://github.com/dotnet/installer#installers-and-binaries to verify it's fixed.

enter image description here

You can follow that installer link and grab the rc1 build. You will also need a NuGet.config with the following:

<configuration>
  <packageSources>
    <add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
  </packageSources>
</configuration>

FYI, I ran into the same issue and this solved it for me about a week back.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!