Discover and update the C#-specific properties in: Administration > General Settings > C#.
Analyze Generated Code
To analyze tool-generated code (e.g. WCF code generated by
SvcUtil.exe, protobuf code generated by
protoc, Swagger client code generated by
NSwag) for a specific C# project, enable the "Analyze generated code" setting inside Project > Administration > General Settings > C#. By default, tool-generated code files are skipped from analysis.
To analyze C# code, you need to use the SonarScanner for MSBuild version 4.x or newer.
- Excluding External Roslyn Issues (See "Notes on external .NET issues")
- Test Coverage & Execution (Visual Studio Code Coverage, dotCover, OpenCover)
- SonarScanner for MSBuild
- SonarScanner for Azure DevOps
Check the issue tracker for this language.