You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
Currently Razor will use the (lexical) first @tagHelperPrefix in each file and will report an error for each subsequent one. This allows views to override an imported @tagHelperPrefix but not to specify it multiple times in the same file.
After some discussion, it's likely that this semantic should be applied to more of our directives or at least applied at a different layer than it is today. I'm logging this issue to follow up with implementing this validation since we're temporarily adding support for the taghelper directives without preserving the current behavior.
The text was updated successfully, but these errors were encountered:
Currently Razor will use the (lexical) first
@tagHelperPrefix
in each file and will report an error for each subsequent one. This allows views to override an imported@tagHelperPrefix
but not to specify it multiple times in the same file.After some discussion, it's likely that this semantic should be applied to more of our directives or at least applied at a different layer than it is today. I'm logging this issue to follow up with implementing this validation since we're temporarily adding support for the taghelper directives without preserving the current behavior.
The text was updated successfully, but these errors were encountered: