You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After having defined a CustomAnalyzer and added the project containing the custom analyzer as a reference to wpf-project the warning is displayed twice in the Error List Window when saving the xaml-file.
To Reproduce
Use the project template to create a custom analyzer.
Adjust the auto-generated analyer by changing the TargetType Property to TextBox
Create a wpf project (.Net Core 3.1) in the very same solution
Enable Custom Analysis in Visual Studio
Add a TextBox without any attributes and save the file, a warning should be displayed
Add a space within the opening tag of the TextBox and save the file again, now the warning is displayed twice
Deleting the space and saving again does not reduce the number of warnings
Expected behavior
Warning should be displayed once in the Error List Window
The text was updated successfully, but these errors were encountered:
YakupIpek21
changed the title
Warning generated through CustomAnalyzer displayed twice in Error List Window
Warnings generated through a CustomAnalyzer are being displayed twice in the Error List Window
Feb 24, 2022
Describe the bug
After having defined a CustomAnalyzer and added the project containing the custom analyzer as a reference to wpf-project the warning is displayed twice in the Error List Window when saving the xaml-file.
To Reproduce
Use the project template to create a custom analyzer.
Adjust the auto-generated analyer by changing the TargetType Property to TextBox
Create a wpf project (.Net Core 3.1) in the very same solution
Enable Custom Analysis in Visual Studio
Add a TextBox without any attributes and save the file, a warning should be displayed
Add a space within the opening tag of the TextBox and save the file again, now the warning is displayed twice
Deleting the space and saving again does not reduce the number of warnings
Expected behavior
Warning should be displayed once in the Error List Window
The text was updated successfully, but these errors were encountered: