Skip to content

[WebToolsE2E][Green]Making change in MainLayout.razor.css file in Blazor Web App ~ 10.0 ~ WebAssembly ~ Global , save file, the browser page does not show the new changes #2702

@Susie-1989

Description

@Susie-1989

REGRESSION INFO: Repro in Nov release C# DK 1.90.2(C#2.110.4)

INSTALL STEPS

  1. OS: window x64
  2. Install the SDK 10.0.102
  3. Install VS Code insiders - 1.109.0
  4. Install Jan prerelease 2 prerelease C# DK1.92.5(include C#2.112.45)

REPRO STEPS

  1. Go to Settings > Search 'Hot Reload'
Enable "Enables C# Hot Reload while debugging"
Disable "When true, saving a file will automatically apply changes when Hot Reload is available."
  1. Open vs code > Create .NET Project > Blazor Web App ~ WebAssembly ~ Global.
  2. Right click BlazorApp > Debug >Start New Instance
  3. Open MainLayout.razor.css under BlazorApp.Client and change .top-row/ background-color
  4. Save the file.

Note:

  1. If refresh the browser, the new changes still can't be displayed normally.
  2. This issue works well for app.css file under blazorApp/wwwroot.
  3. This issue also repro for Blazor Web App ~ Auto(Server and WebAssembly) ~ Global
  4. This issue also repro when press hot reload button. output shows "No code changes were found".
Image

ACTUAL The browser page does not show the new changes

Image

EXPECTED The browser page show the new changes.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions