Custom tag helper not working

前端 未结 8 1397
抹茶落季
抹茶落季 2021-02-03 19:11

I followed a few guides on creating a custom tag helper for ASP Core.

This is my helper:

using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.Asp         


        
8条回答
  •  清歌不尽
    2021-02-03 19:38

    For those who are using the syntax correctly, but have their views and their TagHelpers in separate projects:

    • Rebuild the TagHelper project
    • Then rebuild the View project

    It will work.

提交回复
热议问题