Discover and update the C#-specific properties in: Administration > General Settings > C#.
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 .NET version 4.x or newer.
- Excluding external Roslyn issues (See "Notes on external .NET issues")
- Test coverage and execution (Visual Studio Code Coverage, dotCover, OpenCover, Coverlet, Altcover)
- SonarScanner for .NET
- SonarScanner for Azure DevOps
Check the issue tracker for this language.
© 2008-2023, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.