May 2019
Intermediate to advanced
504 pages
11h 50m
English
In addition to the built-in set of analysis rules, SonarQube can also consume the warnings and errors that are identified by other Roslyn analyzers, such as the available StyleCop analyzers.
In order to include StyleCop rules into a .NET Core project, it is enough to reference the publicly available NuGet package:
<ItemGroup> <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" /></ItemGroup>
At this point, the coding convention-related issues would be identified and flushed through the build output as warnings. Additionally, the IDE would provide annotations and solutions using the Roslyn infrastructure.
Finally once the project is put through SonarQube server analysis, the issues ...
Read now
Unlock full access