Skip to content

[WebToolsE2E][Blue] There is no reference info above the method code in the razor file of Blazor Web App #2235

@EmilyFeng97

Description

@EmilyFeng97

REGRESSION INFO: work well on public release C# Extension [2.87.31] and public release C# Dev Kit Extension [1.41.11]

INSTALL STEP

  1. Repro OS: Win11 x64 24h2 ENU
  2. Install latest VSCode (latest released version: 1.103.0)
  3. Install SDK: 10.0 RC 1 main[10.0.100-rc.1.25409.103]
  4. Install public pre-release C# Extension [2.88.42] and C# Dev Kit Extension [1.50.11]

REPRO STEPS

  1. Create a Blazor Web App for Server project, and open it in VSCode
    dotnet new blazor -int Server -o MyBlazorServerApp
    cd MyBlazorServerApp
    code .
    
  2. Open the Counter.razor or Weather.razor file
  3. Observe the code section

Note:

  1. This issue also repro on blazor web app for WebAssembly and blazor WebAssembly Standalone App.
  2. This issue does not repro on public release C# Extension [2.87.31] and C# Dev Kit Extension [1.41.11].
  3. This issue does not repro on .cs file of razor project.
  4. This issue does not repro on Program.cs file but repro on .razor file of the same project.

ACTUAL
In the code section of the razor file, there is no reference information above the method code.
Counter.file:
Image
Weather.razor file:
Image

EXPECTED
Counter.file:
Image
Weather.razor file:
Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions