ASP.NET Core Tag Helper Intellisense in Visual Studio 2017

后端 未结 4 829
逝去的感伤
逝去的感伤 2021-01-04 02:36

I am unable to get Intellisense for all tags (e.g. asp-for asp-action, etc.) I\'m running Visual Studio 2017.

My .csproj file

4条回答
  •  感情败类
    2021-01-04 02:58

    For VS2017 RTM (if you've upgraded by now) you need to install Razor Language Services from Extensions and Updates... in Tools menu within Visual Studio.

    Caveat: It seems as if you also have to remove any Microsoft.AspNetCore.Razor.Tools reference (I had version 1.1.0-preview4-final) from your .csproj file to enable IntelliSense after installing the extension above.

提交回复
热议问题