Tag Helpers disabled in VS 2015

前端 未结 4 1833
悲&欢浪女
悲&欢浪女 2021-01-18 17:42

I am having trouble getting Tag Helpers enabled in my project.

Here is a summary of the project setup:

  • VS 2015 RC Community Edition.
  • Project.j
4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-18 18:07

    After much back and forth I got the intellisense working.

    As mentioned in the question update, I needed to add @addTagHelper "Microsoft.AspNet.Mvc.TagHelpers"

    Finally, I looked at the NuGet page for tag helpers. I noticed some listed dependencies were not in my project. I added those, restarted VS, and got some intellisense.

提交回复
热议问题