Skip to content

[HotReload] Control + F5 break hotreload in the following debug sessions  #2705

@v-reinawang

Description

@v-reinawang

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' >Check "Enables C# Hot Reload while debugging“
  2. Open VS Code > Create .NET Project > ASP.NET Core Web App (Razor Pages)
  3. Right click the project > Debug > Start without Debugging > Stop running after the project has successfully started.
  4. Right click the project > Debug > Start New Instance > Go to Index.cshtml and change "Welcome" to "Welcome,aaa" > Press Hot Reload button.

ACTUAL
The Hot Reload output window displays an error and a warning. Although it says "Code changes were successfully applied.", the browser page does not show the new changes.
If refresh the browser, the new changes still can't be displayed normally.
Image

2026-01-20 13:33:21.861 [error] WebApplication1 (net10.0): Update batch #0 failed with error: Pipe is broken.
2026-01-20 13:33:21.861 [warning] WebApplication1 (net10.0): Further changes won't be applied to this process.

EXPECTED
There are no errors or warnings in the OUTPUT, and the page can be updated.

Metadata

Metadata

Labels

area-hotreloadIssues with Hot Reload experiences

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions