I am using asp.net core 's Areas feature in my project I use the newest vs2017. It's fine to use the tag helper Intellisense in the normal default 'Views' folder,But no Intellisense in the areas' view How to solve this issue?
相关问题
- TextBoxFor decimal
- How to do an inline style with asp.net mvc 3 razor
- Issue with updating model on AJAX “POST”
- Value cannot be null or empty.\r\nParameter name:
- Should one try to guard against null reference exc
相关文章
- Breakpoint in ASP.NET MVC Razor view will not be h
- How to define function that returns html in asp.ne
- MVC 3 Razor - Trigger validation from controller
- Where to configure Razor page language version to
- MVC submit button not firing
- How can I use Enums on my Razor page in MVC3?
- how to access querystring in ASP.Net MVC View?
- How to use JSON data in a view?
just add this code at the top of the cshtml file:
or copy the _ViewImports.cshtml file to the area's view folder
It now even works when adding it to
_ViewImports.cshtml
, so for example:@using AmpTagHelpers @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper AmpTagHelpers.*, AmpPwaApps @addTagHelper MaterialTagHelpers.*, AmpPwaApps