SerilogAnalyzer icon indicating copy to clipboard operation
SerilogAnalyzer copied to clipboard

Installation instruction

Open lugospod opened this issue 6 years ago • 3 comments

Hi,

Is there an installation guide? I have install the nuget package, and after that tried with VSIX... none of the options resulted in any analysis. Am I supposed to do some additional steps?

I have VS 2019 Comm. Edt.

Thank you

lugospod avatar Apr 09 '19 21:04 lugospod

No, you should only need to install the VSIX or the nuget package to have analysis results popping up. Just to make sure, you're using Serilog, not Microsoft.Extensions.Logging, right?

Suchiman avatar Apr 09 '19 21:04 Suchiman

@Suchiman reg. the installation - when installing it on a specific project, I'm seeing the analyzer run on any dependencies of that project but that was not my intention. In this case, we have a unit test project that is referencing the project with the analyzer, but the unit test project is throwing Serilog issues that don't really apply. Is that expected behaviour?

aaronbond-payroc avatar Aug 19 '22 09:08 aaronbond-payroc

@bond-a i suppose this is because on SDK style projects, references are transitive, do any of the solutions described here work for you? https://stackoverflow.com/a/60852224

Suchiman avatar Aug 19 '22 09:08 Suchiman