MVC 6 Tag Helpers Intellisense?

后端 未结 6 727
眼角桃花
眼角桃花 2020-12-06 05:53

Is there supposed to be Intellisense for the new asp- tag helpers in Razor/MVC 6? I was following along on one of Shawn Wildermuth\'s courses on Pluralsight and

6条回答
  •  不知归路
    2020-12-06 06:14

    In my case I needed to deactivate the IntelliSense of ReSharper (9.2) which overrides the TagHelpers.

    Steps in the Visual Studio 2015 Menu:

    • Go to ReSharper -> Options... -> IntelliSense -> General
    • Check "Custom IntelliSense"
    • Except HTML I changed dropdown entries to "ReSharper"
    • Restart Visual Studio

    The cshtml Razor page TagHelpers are now no longer overridden by ReSharper IntelliSense.

提交回复
热议问题