Skip to content

Regression in build incrementalism for Blazor #20858

@captainsafia

Description

@captainsafia

Moving this issue over from email thread.

Describe the bug

Changes made to a Blazor project are not reflected when running the project using:

$ dotnet build
$ dotnet run

To Reproduce

  1. Create a new Blazor WASM project.
$ dotnet new blazorwasm -o repro
  1. Build and run the project using either VS or the CLI.
$ dotnet build
$ dotnet run
  1. Make a modification to the project sources. For example, add a Console.WriteLine statement.

  2. Build and run the project.

  3. Observe that your source change in replace batch files with kvm #3 "doesn't work".

Further technical details

This was reproduced on preview4 bits for Blazor WASM.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions