Skip to content

[WebToolsE2E][Green] On the first launch of debugging/without debugging for each newly created project, there is a warning "The .NET SDK '' does not support Hot Reload in the browser. Upgrade to '11.0.100' to enable Hot Reload.` in hot reload output" #3890

Todo

Description

@Serena01

REGRESSION INFO: The issue cannot reproduce on latest released C# devkit V3 (3.40.215)

INSTALL STEPS

  1. OS: window x64
  2. Install SDK 11.0.100
  3. Install VS Code inside - 1.144.0
  4. Install latest pre-released C# - 11.9.41
  5. Install latest pre-released C# devkit V11 - 11.11.112

REPRO STEPS

  1. Enable C# Hot Reload while debugging setting
  2. Open vs code > Create .NET Project >ASP.NET Core Web App(Razor Pages)
  3. Start new instance or Start without Debugging

Note:

  1. The issue also reproduce on 10.0.404
  2. The issue cannot reproduce with dotnet watch scenario
  3. The warning appears only during the first debug session for each newly created project. If I stop debugging and start debugging the same project again, the warning does not appear. If I create another new project, the same warning appears the first time I start debugging that project
  4. If I continue do the Hotreload scenario, will run into 3780

ACTUAL
It shows warning " [warning] 🔃 [WebApplication11] ⚠ The .NET SDK '' does not support Hot Reload in the browser. Upgrade to '11.0.100' to enable Hot Reload." in the .NET Hot Reload output window

image

Dotnet info:
image

EXPECTED
This warning should not appear because the .NET SDK version it recommends (11.0.100) is already installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-hotreloadbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions