I’m using SonarQube - on premise installation - and I configured a set of rules as part of a quality profile.
One of the rules I’m interested is " Console logging should not be used".
One of the exceptions of this rule is for console applications - there, this rule shouldn’t apply.
My question is - how does the scanner detect that the application is a console application? I have one as such and this rule is still getting triggered.
How should I configure my sonar properties or the C# project itself so that this rule is not getting applied?