Skip to content

Demote warning with false-positives to info#9797

Open
BenjaminBrienen-CanonPP wants to merge 1 commit intoSonarSource:masterfrom
BenjaminBrienen-CanonPP:patch-1
Open

Demote warning with false-positives to info#9797
BenjaminBrienen-CanonPP wants to merge 1 commit intoSonarSource:masterfrom
BenjaminBrienen-CanonPP:patch-1

Conversation

@BenjaminBrienen-CanonPP

Our build gets fleeded with these warnings:

'sources\Project\obj\<platform>\<configuration>\<framework>\MyGeneratedFile.cs' referenced by the protobuf 'MetricsInfo' does not exist in the analysis context

This is a VERY long-standing issue

https://community.sonarsource.com/t/ignore-specific-warnings-in-sonarqube-analysis/133070/6

https://community.sonarsource.com/t/improvement-dont-log-does-not-exist-in-the-analysis-context-warnings-for-excluded-files/73799

There is no way to supress this from the user-side, so this must not be a warning.

Our build gets fleeded with these warnings:

```
'sources\Project\obj\<platform>\<configuration>\<framework>\MyGeneratedFile.cs' referenced by the protobuf 'MetricsInfo' does not exist in the analysis context
```

This is a VERY long-standing issue

https://community.sonarsource.com/t/ignore-specific-warnings-in-sonarqube-analysis/133070/6

https://community.sonarsource.com/t/improvement-dont-log-does-not-exist-in-the-analysis-context-warnings-for-excluded-files/73799

There is no way to supress this from the user-side, so this must not be a warning.
@sonar-review-alpha
Copy link

sonar-review-alpha bot commented Mar 17, 2026

Summary generation failed.

@martin-strecker-sonarsource
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants