# SonarLint not detecting issues locally that appear on SonarQube server (C# project)

**URL:** <https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666>\
**Category:** IntelliJ Platform\
**Created:** [January 21, 2026, 2:42pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666 "2026-01-21T14:42:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walter\_Palma](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/walter_palma/32/74619_2.png) [@Walter\_Palma](https://community.sonarsource.com/u/Walter_Palma)\
**Post date:** [January 21, 2026, 2:42pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/1 "2026-01-21T14:42:20Z")

</div>

**Title:** SonarLint not detecting issues locally that appear on SonarQube server (C# project)

**Operating system:**  
macOS (Apple Silicon)

**SonarLint plugin version:**

- SonarLint for VS Code: v4.40.0

- SonarLint for Rider: 2025.3 (latest available)

**IDE version:**

- VS Code: Latest

- JetBrains Rider: 2025.3

**Programming language:**  
C# (.NET 8)

**Is connected mode used:**  
Yes, Connected Mode is configured and synced with SonarQube server

**SonarQube Server version:**  
SonarQube Enterprise Edition 2025.5.0 (build 113872)

* * *

**Problem Description:**

SonarLint in both VS Code and Rider is not detecting code quality issues locally, even though the same issues are correctly detected when running the full SonarQube scanner (both locally and in CI/CD).

**Example:**  
Rule **S2930** (“IDisposables should be disposed”) is active in the quality profile and appears on the SonarQube server after scanning, but SonarLint shows **0 issues** when analyzing the same file locally.

\*\*Code example (LambdaContextExtensions.cs):  
\*\*  
`public static CancellationToken CancellationToken(this Amazon.Lambda.Core.ILambdaContext context)`  
`{`  
`var timeout = context.RemainingTime.Subtract(TimeSpan.FromMilliseconds(500));`  
`var cts = new CancellationTokenSource(timeout); // S2930 should trigger here`  
`return cts.Token;`  
`}`

**SonarLint Analysis Output (from Rider logs):**

```auto
[sonarlint-analysis-scheduler] INFO sonarlint - Starting analysis with configuration
activeRules: [337 csharpsquid, 24 css, 49 Web, …]
inputFiles: [LambdaContextExtensions.cs (UTF-8)]

[Report about progress of OmniSharp analyzer] INFO - 1 source file to be analyzed
[Report about progress of OmniSharp analyzer] INFO - 1/1 source file has been analyzed

[sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 90ms

```

The OmniSharp analyzer completes successfully but finds nothing.

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [January 22, 2026, 2:25pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/2 "2026-01-22T14:25:35Z")

</div>

Hi,

Welcome to the community and thanks for this report!

Can you provide [verbose logs](https://docs.sonarsource.com/sonarqube-for-vs-code/resources/troubleshooting) from IDE startup to where this (doesn’t) happen?

&nbsp;  
Thx,  
Ann

---

<div class="post-metadata">

**Author:** ![Walter\_Palma](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/walter_palma/32/74619_2.png) [@Walter\_Palma](https://community.sonarsource.com/u/Walter_Palma)\
**Post date:** [February 5, 2026, 3:24pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/3 "2026-02-05T15:24:30Z")

</div>

Hi Ann,

This happens either in vs code or in rider, where this does not happen is in sonarqube server. To clarify, sonarqube server is good, shows the errors and warnings, locally does not show anything.

What can I provide you to better help me?

Thanks!

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [February 5, 2026, 4:21pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/4 "2026-02-05T16:21:56Z")

</div>

Hi,

I still need verbose logs from startup. Either or ideally both IDEs.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![Walter\_Palma](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/walter_palma/32/74619_2.png) [@Walter\_Palma](https://community.sonarsource.com/u/Walter_Palma)\
**Post date:** [February 6, 2026, 10:33am UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/5 "2026-02-06T10:33:48Z")

</div>

Like this?

```auto
2026-02-06 10:32:32.226 [info] [Debug - 10:32:32.225] Fetching global configuration

2026-02-06 10:32:32.237 [info] [Debug - 10:32:32.237] Fetching configuration for folder 'file:///Users/walter.palma%40ivcevidensia.com/Documents/GitHub/pms-proxies'

2026-02-06 10:32:32.238 [info] [Debug - 10:32:32.238] Fetching configuration for folder 'file:///Users/walter.palma%40ivcevidensia.com/Documents/GitHub/foh-calendar-repo'

2026-02-06 10:32:32.238 [info] [Debug - 10:32:32.238] [sonarlint : SonarLint Server RPC sequential executor] Automatic analysis setting changed to: false

2026-02-06 10:32:32.248 [info] [Debug - 10:32:32.248] [sonarlint : SonarLint Server RPC sequential executor] Reporting 0 issues over 1 files for configuration scope file:///Users/walter.palma%40ivcevidensia.com/Documents/GitHub/foh-calendar-repo

2026-02-06 10:32:32.249 [info] [Debug - 10:32:32.248] [sonarlint : SonarLint Server RPC sequential executor] Reporting 0 issues over 1 files for configuration scope file:///Users/walter.palma%40ivcevidensia.com/Documents/GitHub/pms-proxies

2026-02-06 10:32:32.249 [info] [Debug - 10:32:32.248] [sonarlint : SonarLint Server RPC sequential executor] Reporting 0 issues over 2 files for configuration scope <root>

2026-02-06 10:32:32.249 [info] [Error - 10:32:32.248] [sonarlint : SonarLint Server RPC sequential executor] Duplicate configuration scope registered: file:///Users/walter.palma%40ivcevidensia.com/Documents/GitHub/foh-calendar-repo

2026-02-06 10:32:32.249 [info] [Error - 10:32:32.248] [sonarlint : SonarLint Server RPC sequential executor] Duplicate configuration scope registered: file:///Users/walter.palma%40ivcevidensia.com/Documents/GitHub/pms-proxies

```

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [February 6, 2026, 12:55pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/7 "2026-02-06T12:55:00Z")

</div>

Hi,

Thanks for the log. I’ve flagged this for the team.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![georgii.borovinskikh](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@georgii.borovinskikh](https://community.sonarsource.com/u/georgii.borovinskikh)\
**Post date:** [March 18, 2026, 12:33pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/11 "2026-03-18T12:33:28Z")

</div>

Hi @Walter_Palma Unfortunately I am not able to reproduce this issue. Could you please try the latest version of the plugin and provide full logs? You can send them in a private message to me

---

<div class="post-metadata">

**Author:** ![Leopold\_Lerch](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/leopold_lerch/32/76062_2.png) [@Leopold\_Lerch](https://community.sonarsource.com/u/Leopold_Lerch)\
**Post date:** [April 29, 2026, 2:47pm UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/14 "2026-04-29T14:47:02Z")

</div>

We are experiencing kind of the same issue. However found something additional:

When opening vscode, with the file directly (basically having it closed while file in editor), it DOES find the issues.

Closing the file and reopening it (or basically any other file), it does not detect any issues anymore.

I will add verbose logs  
[sq-logs after file closed and reopened.txt](https://community.sonarsource.com/uploads/short-url/t547z9lz8n8F6rJleWKzqU0pLN6.txt) (50.6 KB)  
[sq-logs after startup.txt](https://community.sonarsource.com/uploads/short-url/6fzfUpOLyt7MYDzX2UkLcxXxPPV.txt) (2.0 MB)

the scan on the very same file with the very same settings found 3 issues at first, and then none

---

<div class="post-metadata">

**Author:** ![Leopold\_Lerch](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/leopold_lerch/32/76062_2.png) [@Leopold\_Lerch](https://community.sonarsource.com/u/Leopold_Lerch)\
**Post date:** [April 30, 2026, 7:01am UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/16 "2026-04-30T07:01:17Z")

</div>

as a layman, it seems, that

org.sonarsource.sonarlint.omnisharp.protocol.OmnisharpResponseProcessor

is not executed on scans later on anymore.

---

<div class="post-metadata">

**Author:** ![Leopold\_Lerch](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/leopold_lerch/32/76062_2.png) [@Leopold\_Lerch](https://community.sonarsource.com/u/Leopold_Lerch)\
**Post date:** [April 30, 2026, 8:18am UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/17 "2026-04-30T08:18:40Z")

</div>

My issue seems to be new and bound to Version 5.2.

Version 5.1 works without that problem

---

<div class="post-metadata">

**Author:** ![Damien\_Urruty](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/damien_urruty/32/43383_2.png) [@Damien\_Urruty](https://community.sonarsource.com/u/Damien_Urruty)\
**Post date:** [April 30, 2026, 8:54am UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/18 "2026-04-30T08:54:24Z")

</div>

Hi @Leopold_Lerch,

Thanks for reaching out. I see you opened a new [thread](https://community.sonarsource.com/t/issues-in-c-files-not-found-when-not-opend-during-extension-startup/181882), I suggest we continue the discussion there, I think your problem is not related to the current thread.

Thanks!

---

<div class="post-metadata">

**Author:** ![Leopold\_Lerch](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/leopold_lerch/32/76062_2.png) [@Leopold\_Lerch](https://community.sonarsource.com/u/Leopold_Lerch)\
**Post date:** [April 30, 2026, 9:14am UTC](https://community.sonarsource.com/t/sonarlint-not-detecting-issues-locally-that-appear-on-sonarqube-server-c-project/176666/20 "2026-04-30T09:14:59Z")

</div>

sure, as I found out, that it is kind of new because of its connection to v 5.2, I opened the new thread.
