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.

TagHelper directives don't work with optional quotes in non-import files #744

Closed
@ryanbrandenburg

Description

@ryanbrandenburg

@addTagHelper *, Location will work in any location, and @addTagHelper "*, Location" will work in an _ImportView.cshtml, but if you try to do @addTagHelper "*, Location" in for example Index.cshtml you'll get an error saying "The given assembly name or codebase was invalid"

To reproduce, create a new Web project, copy the @addTagHelper directive out of _ViewImports.cshtml into Index.cshtml and change it to @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions