Generate Report out of FxCop Code Analyzer(Roslyn) in Azure Build Pipeline

Viewed 524

I want to generate code analysis report from the Build Pipeline. I have recently moved from Fxcopcmd.exe to Roslyn based analyzers. I am able to see warnings in the build log, but I am not able to get a seperate report that can be shared with comeplete team.

I have already added the Nuget packages for running the code analysis Step used during build is shown below

- task: VSBuild@1
  displayName: 'Build solution **\MySolution.sln'
  inputs:
    solution: '$(Parameters.solution)'
    vsVersion: 15.0
    msbuildArgs: '/t:rebuild'
    platform: '$(BuildPlatform)'
    configuration: '$(BuildConfiguration)'
1 Answers

Did you mean that you don't see code analyzers results in the build Summary? FxCop Analyzer just run and report their results to the build report.

enter image description here

Here is a document you can refer to.

Related