VS2022 Blazor Server App Hot Reload notworking

Ben Junior 6 Reputation points

Using VS2022 V 17.2.5 NetCore 6 and Blazor Server side app. I created a standard web project (Blazor1App) and run without debuging (Ctrl+F5) The app launches and then on Index page I change <h1>Hello, world!</h1> to <h1>Hello, world! HHHHHHHHHHHHHH</h1> and save the changes (Ctrl+S) I have Hot Reload on File Save and then the following window pops up


A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,213 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,115 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ben Junior 6 Reputation points

    The error message goes away if the "Enable Hot Reload and Edit and Continue when debugging" is checked and the Hot Reload works. This box was unchecked and it become checked after I run the repair as you mentioned. Previously, only the "Enable Hot Reload when starting without debugging" was checked and I thought that was OK.