Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenderFragment is not recognized in Visual Studio when its name matches a html tag #11674

Closed
jivanova opened this issue Jun 28, 2019 · 1 comment
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue

Comments

@jivanova
Copy link

Describe the bug

RenderFragment within a component is not recognized in VS and is not shown in the intellisence.

To Reproduce

<!-- Child Component -->
<span>@Template</span>

@code {
    [Parameter] RenderFragment Template { get; set; }
}
    <ChildComponent>
          @*only the html5 <template></template> tag is shown in the intellisence. If Template is written with capital letter, the code is successfully compiled but still the VS does not recongnize that it's a RenderFragment part of the childcomponent'*@
          <template></template>
    </ChildComponent>

Expected behavior

Template to be recognized as a RenderFragment and to be present in the intellisence.

Screenshots

If applicable, add screenshots to help explain your problem.
image

@jivanova jivanova changed the title RenderFragment is not recognized in Visual Studio when its name matched html tag RenderFragment is not recognized in Visual Studio when its name matches a html tag Jun 28, 2019
@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Jun 28, 2019
@mkArtakMSFT
Copy link
Member

Thanks for contacting us, @jivanova.
This will be addressed as part of #9860 work.

@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Jun 28, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants