If you have a project set up as follows
- Sln
|-- ProjectA
|-- ProjectB
And add an analyzer to ProjectA, and then reference ProjectA in ProjectB, ProjectB also ends up having the analyzer run. Is this expected? Is there a way to turn this off for solutions where ProjectB does not want the analyzer to be run?
If you have a project set up as follows
And add an analyzer to
ProjectA, and then referenceProjectAinProjectB,ProjectBalso ends up having the analyzer run. Is this expected? Is there a way to turn this off for solutions whereProjectBdoes not want the analyzer to be run?