Version Used: VS 2017 15.3.5
Steps to Reproduce:
- Create new Class Library (.NET Framework) project.
- Edit Active Rule Set and make CS8019 (Unnecessary using directive) an 'Error'.
- Compile project.
Expected Behavior:
Given that the project starts with a Class1.cs file containing unused using directives, compilation should fail.
Actual Behavior:
Compilation succeeds. The VS UI does show the IntelliSense error, however.
Attached repro project.
AnalyzerTest.zip
Version Used: VS 2017 15.3.5
Steps to Reproduce:
Expected Behavior:
Given that the project starts with a Class1.cs file containing unused using directives, compilation should fail.
Actual Behavior:
Compilation succeeds. The VS UI does show the IntelliSense error, however.
Attached repro project.
AnalyzerTest.zip