The TagHelper smart prompt of ASP. net core in VisualStudio2017 cannot be used,
Previously this problem was found in VS2017RC and dependencies were installed, but asp-for was not found in the previous section. Later, I checked the release notes,
It is known that this problem cannot be solved in VS2017rc for the time being. Therefore, we will wait until the official version of VS2017 is released, so we are eager to install it,
After creating a demo project, you still cannot see the smart prompt of TagHelper.
I pulled the release notes for VS2017 and found the known issues:
This line is found:
Then, as prompted, I went to the Github page and found the description of why TagHelper cannot be used:
Similarly, the page provides a solution to install a Razor service extension:
For the sake of security after installation, restart VS2017 and try again... OK. The problem has been solved for several days.
As to whether VS2017rc can be solved through this plug-in, I have not tested it (2017 is an official version...). If you have not upgraded the official version or do not plan to upgrade the official version, you can test it.
Link:
VS2017 Release Notes: Click to go
VS2017 known issues and solutions (Github): Click to go