Describe the bug
- Static Blazor WASM client.
- .NET 8 preview 4
Hot Reload isn't usable anymore.
After every (saved) change in a .razor page the dotnet watch cli reports the following error:
dotnet watch ⌚ File changed: .\Pages\Txt2Img.razor.
dotnet watch ⌚ C:\X\Repos\Tusk\ClientTusk\Program.cs(10,28): error CS0246: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)
dotnet watch ⌚ Found compilation errors during hot reload. Reporting it in application UI.
If you do CTRL-R (restart) everything works again. Without an additional change.