Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Error is occurred if there is a link in the render section #412

@pherbel

Description

@pherbel

Error is occurred if there is a link in the render section.
I don't know exactly why this error is coming. Maybe it is a bug. Please check it.
I'm running on beta4 version.

Error will be this:
error CS0246: The type or namespace name 'TagHelperContent' could not be found (are you missing a using directive or an assembly reference?)

Sample code:
@{
ViewBag.Title = "MyPage";
}
@section mysection {

<a href="http://www.test.com">Test</a>

}

This will work:
@{
ViewBag.Title = "MyPage";
}
@section mysection {

@*<a href="http://www.test.com">Test</a>*@

}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions