Click here to Skip to main content
15,742,764 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In the component view library project, my tag helpers are not working. The view works, but in the VS2019 editor the tag helpers don't work.

What I have tried:

In the test project for the library the tag helpers work there is a _ViewImports file where the line "@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers" is. I tried to put this file in the library as well, but it didn't help. As well as put the addTagHelper straight into the cshtml view.
Updated 7-Sep-21 22:28pm
CHill60 8-Sep-21 5:00am    
I suspect this is directed at the author of an article. Go back to the article and post this in the forum at the bottom of that page. It is unlikely they will randomly come into the Quick Answers forum and see this. The rest of us don't know what project you are referring to

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900