Skip to content

A documentation comment that contains a link is incorrectly displayed on the Razor page (Blazor application) #8987

Open
@LanetteDevEx

Description

@LanetteDevEx

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The following documentation comment for a Blazor component with a link is displayed incorrectly in Intellisense on the Razor page:

/// <summary> /// See <see cref="MainLayout">Test</see> end of Test. /// </summary>

The same documentation comment is displayed as expected in the .cs file.

See the following screenshots:

Component_in_Razor
Component_in_CS

Expected Behavior

A documentation comment should be displayed in Intellisense on a Razon page correctly without the tag:
Component_in_CS

Steps To Reproduce

See the following sample project which illustrates the issue for the 'MyComponent' class: https://github.com/LanetteDevEx/Microsoft-Blazor-Issue-Sample-Project/tree/master

Exceptions (if any)

No response

.NET Version

7.0.102

Anything else?

Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalScope involves an area outside of the repo

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions