Skip to content

[WebToolsE2E][Hot Reload] Page does not update stylesheet in .NET 11 Blazor Web App with SDK 11 Preview 1 #53134

@cyimperial

Description

@cyimperial

REGRESSION INFO Work with NET 9,8

INSTALL STEPS

  1. Clean machine: Win11 x64 24h2 ENU
  2. Install SDK 11 Preview 1
  3. Add feed for SDK 11 Preview 1

REPRO STEPS

  1. File > New > Project > Blazor Web App > .NET 11.0 (Preview)> WASM > Global > Create.
  2. Right click project > Open in terminal > run command dotnet watch
  3. Open MainLayout.razor.css > Add following code to Line 5:
    background-color: gold;
  4. Save the file.

Note:

  • Repro on WASM and Auto.
  • Doesn't repro on per page/component.

ACTUAL
Background color of the page wasn't updating.

HotReload_bg_color.mp4

EXPECTED
Background color of the page should be updating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-AspNetCoreRazorSDK, BlazorWebAssemblySDK, StaticWebAssetsSDKuntriagedRequest triage from a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions