-
Notifications
You must be signed in to change notification settings - Fork 403
Description
Visual Studio Version: 16.1.1
Summary: The Analyzers node in Solution Explorer shows some items that seem to be warnings about the code, but there appears to be no way to see what code they refer to.
Steps to Reproduce:
- Create an empty ASP.NET Core 2.2 web application.
- Expand Dependencies, Analyzers in solution explorer.
Expected Behavior:
Either no warnings or I can double-click on the warning to go to the line of code where the problem occurs or there is a context menu item for this.
Actual Behavior:
Warnings such as "MVC1000 Use of IHtmlHelper.{0} should be avoided." and "EF1000 Possible SQL injection vulnerability." are shown:
There are no warnings in the Error list, even if I build the solution.
In my real project there are also warning icons, like this:
This is what first attracted my attention to it and I thought that the warning icons referred to the text of the child nodes, but when I create a new empty project I get those child text nodes without the warning icon. There seem to be other issues about the warning icons, such as #2257 and #4716.
User Impact: Confusion!