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

</Link> warning in Visual Studio #1353

Closed
stevenlupo opened this issue Oct 1, 2020 · 2 comments
Closed

</Link> warning in Visual Studio #1353

stevenlupo opened this issue Oct 1, 2020 · 2 comments

Comments

@stevenlupo
Copy link

The docs give an example of how to use the Link component:

<Link To="user/settings">
    Link text
</Link>

But in Visual Studio 2019, I get this warning with a squiggle beneath the </Link>:

Closing tag supplied for self-closing element. Remove closing tag.

What is causing this?

@stsrki
Copy link
Collaborator

stsrki commented Oct 1, 2020

It's a bug in visual studio tooling https://github.com/dotnet/aspnetcore/issues/18685 Still waiting for the bug to be fixed...

As a workaround just use a full path with namespace, eg. Blazorise.Link

@stsrki stsrki closed this as completed Oct 1, 2020
@stevenlupo
Copy link
Author

Worked, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants