Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Issue when add TagHelper

$
0
0

Hi  i have created a .net core project . I want to add tag helpers for this project.

after  add a code line

@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers;

to the _ViewImports.cshtml   ,  pages are not view anything.  i added 

"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-final"

to the project.json file.   when remove the @addTagHelper  line from the _ViewImports.cshtml everything works fine.

please help me to fix this.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>