SonarQube extension stopped showing issues in error list

Please provide

  • Operating system: Windows 11
  • Visual Studio version: 17.14.20
  • SonarQube for Visual Studio plugin version: 9.0.0.15771
  • Programming language you’re coding in: C#/JS
  • Is connected mode used:
    • Disconnected IDE plugin.

And a thorough description of the problem / question:
I was using SonarQube extension fine yesterday and working through the list of issues it was showing for the solution. Then suddenly I saw the list was no longer there, and I could not get it back.
I have tried reboots, removing and re-installing the extension. It still won’t show any issues.

Looking at the log I see entries like this:
[SLCore] File to analyze was not found in the file system: file:///C:/Users/myuser/source/repos/myproj/file.cs

But the path is 100% correct.

As I said, it was working fine until at some point yesterday afternoon then suddenly it completely stopped functioning.

I have noticed that it does still work for .cshtml files, but only ones that are currently open for editing in the IDE. It doesn’t work at all for .cs files though, open or not.

Hi,

Welcome to the community and thanks for this report!

Could you give us a verbose log from IDE startup through to where you (don’t) see the problem?

 
Thx,
Ann

I finally noticed that version 9.0.0 was released just two days ago. On a hunch I removed SonarQube 9.0.0 and re-installed version 8.30.0 and it immediately started working again. I have now disabled automatic updates of the extension.

Is there a way to provide it privately?

Hi,

Feel free to redact it as necessary.

 
Thx,
Ann

Well it updated to version 9 anyway somehow and is now broken again. Here’s a verbose startup log.

sonarqubestart.zip (5.5 KB)

1 Like

Hi,

Thanks for the log, and I’m so sorry this is so difficult right now.

This is flagged for the team. They should be along shortly.

 
Ann

Hello @CWDev

Thank you for reporting this issue with the C# analysis in the new SonarQube for Visual Studio extension v9.0.0. We appreciate you joining the community and providing detailed logs.

We can confirm that version 9.0.0 involved a significant revamp of the C# analysis implementation. The relevant release notes detailing these changes can be found here: Release 9.0.0 · SonarSource/sonarlint-visualstudio · GitHub.

I will be reviewing the provided logs immediately to investigate why the analysis is failing with this new implementation for your configuration.

I will follow up on this thread as soon as possible with an update. Thank you for your patience while we investigate.

Kind regards,
Vasilis

1 Like

Well I have a new twist. Now I can’t uninstall version 9.0.0.15771 of the extension. When I attempt to do so it says it’s not installed, but in Visual Studio it says it is installed and running.
Here is the log for that.

sonarqubeuninstall.zip (5.4 KB)

1 Like

Extension Uninstallation Issue

The behavior where the IDE reports the extension is running but the uninstaller says it’s not installed often points to an underlying state synchronization problem within Visual Studio (VS) itself or the VS Marketplace component. This is unfortunately outside the direct control of our extension.

For a workaround, we suggest manually removing the extension, as this often resolves these conflicting states:

  • Manual Uninstallation: You can manually delete the extension files.
    1. Close Visual Studio.
    2. Navigate to the extensions folder for your specific VS version (it should be similar to %LocalAppData%\Microsoft\VisualStudio\<Visual Studio version>\Extensions\...).
    3. Locate and delete the folder corresponding to the SonarQube extension.

Here is a similar community post on the Microsoft forum.

C# Analysis Issue

I have reviewed the logs, unfortunately there is no clear indicator for the root cause of the C# analysis failure in v9.0.0.

To help us narrow down the scope of the problem, could you please provide more details about the context where the issue occurs?

  • Scope: Is the C# analysis failing on all files and all projects, or is it limited to a specific project type (e.g., .NET Framework, .NET Core/5/6+, SDK-style project) or specific files?
  • Consistency of C# Failure: Is the C# analysis consistently failing (it never works, even after a restart or project reload) or is the issue intermittent (it works sometimes, but randomly stops working)?
  • Other Language Analysis: You mentioned you also work with other languages. Is the analysis for JavaScript (JS) or any other non-C# language (e.g., TypeScript, HTML) working successfully and consistently in this version?
  • IDE Configuration: Are you running a standard Visual Studio installation, or are there any non-standard configurations or security policies on your machine?

Any additional context you can provide about your project configuration will be helpful in replicating the issue on our end.

Thank you again for your patience and for continuing to work with us on this.

1 Like

Hi. I’ll try the manual uninstall. As for your other questions:

Version 9 of the extension isn’t working for me for any .cs files in any project type. I have tried .Net Framework 4.8 and .Net 8 web and library projects.

.cshtml file analysis seems to still work fine in both.

It consistently doesn’t work for .cs files, with ‘File to analyze was not found in the file system’ logged in the output.

The only thing possibly non-standard is that I do not run Visual Studio as an administrator on my machine.

As for manual removal of the extension, there was no real information at that link, and deleting the folder the extension was installed in causes visual studio to crash on startup. I restored the folder and it’s working again but uninstalling the extension still doesn’t work.

Well I managed to manually uninstall the extension. Now I’m having issues installing version 8.30 for some reason. I downloaded it from https://github.com/SonarSource/sonarlint-visualstudio/releases/download/8.30.0.15605/SonarLint.VSIX-8.30.0.15605-2022.vsix but when I attempt to install it I get this error:

21/11/2025 09:43:02 - Microsoft VSIX Installer
21/11/2025 09:43:02 - -------------------------------------------
21/11/2025 09:43:02 - vsixinstaller.exe version:
21/11/2025 09:43:02 - 18.3.91+d147ecf22c
21/11/2025 09:43:02 - -------------------------------------------
21/11/2025 09:43:02 - Command line parameters:
21/11/2025 09:43:02 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\cwdev\Downloads\SonarLint.VSIX-8.30.0.15605-2022.vsix
21/11/2025 09:43:02 - -------------------------------------------
21/11/2025 09:43:02 - Microsoft VSIX Installer
21/11/2025 09:43:02 - -------------------------------------------
21/11/2025 09:43:03 - Found setup instance 5175f33a but not in launchable state.
21/11/2025 09:43:03 - Found setup instance 71c21695 but not in launchable state.
21/11/2025 09:43:03 - Initializing Install…
21/11/2025 09:43:03 - Searching for applicable products…
21/11/2025 09:43:04 - Found installed product - Visual Studio Enterprise 2019
21/11/2025 09:43:04 - Found installed product - Global Location
21/11/2025 09:43:04 - Extension Details…
21/11/2025 09:43:04 - Identifier : SonarLint.0DE19254-1DCA-4479-8EAF-58E5D677FF4D
21/11/2025 09:43:04 - Name : SonarQube for Visual Studio
21/11/2025 09:43:04 - Author : SonarSource
21/11/2025 09:43:04 - Version : 8.30.0.15605
21/11/2025 09:43:04 - Description : Advanced linter to detect and fix coding issues locally in C#, VB.NET, C/C++, JS, TS, CSS, HTML, T-SQL. Use with SonarQube (Server, Cloud) for optimal team performance.
21/11/2025 09:43:04 - Locale : en-US
21/11/2025 09:43:04 - MoreInfoURL : http://vs.sonarlint.org/
21/11/2025 09:43:04 - InstalledByMSI : False
21/11/2025 09:43:04 - SupportedFrameworkVersionRange : [4.7.2,)
21/11/2025 09:43:04 - SignatureState : Unsigned
21/11/2025 09:43:04 - Supported Products :
21/11/2025 09:43:04 - Microsoft.VisualStudio.Community
21/11/2025 09:43:04 - Version : [17.0.31808.319,19.0)
21/11/2025 09:43:04 - ProductArchitecture : amd64
21/11/2025 09:43:04 - References :
21/11/2025 09:43:04 - Prerequisites :
21/11/2025 09:43:04 - -------------------------------------------------------
21/11/2025 09:43:04 - Identifier : Microsoft.VisualStudio.Component.CoreEditor
21/11/2025 09:43:04 - Name : Visual Studio core editor
21/11/2025 09:43:04 - Version : [17.0,19.0)
21/11/2025 09:43:04 - -------------------------------------------------------
21/11/2025 09:43:04 - Identifier : Microsoft.VisualStudio.Component.Roslyn.Compiler
21/11/2025 09:43:04 - Name : C# and Visual Basic Roslyn compilers
21/11/2025 09:43:04 - Version : [17.0,19.0)
21/11/2025 09:43:04 - Signature Details…
21/11/2025 09:43:04 - Extension is not signed.
21/11/2025 09:43:04 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableDataImpl(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

Note, I do have VS 2019 installed but I also have 2022 and that’s what I’m trying to use it in.

I ended up having to completely re-install visual studio. I’m now back up and running. Version 9 of the extension still doesn’t work for me though:

[SLCore] [sonarlint > sonarlint-analysis-scheduler] File to analyze was not found in the file system: file:////path/to/file/that/definitely/exists.cs

Well it’s now not working on 8.30 either so I guess you can close down the 9.0.0 investigation.

I compared with another device that’s working and it looks like it’s some kind of git issue. My log finds git at:

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw64\bin\git.exe
and
C:\Users\cwdev\AppData\Local\Programs\Git\cmd\git.exe

It then fails to run a git command of some kind and seems to fall back to some kind of java git.

On a collage’s machine that works it only finds C:\Users\auser\AppData\Local\Programs\Git\cmd\git.exe and is happy. Also there’s a difference in git versions:

C:\Users\cwdev\AppData\Local\Programs\Git\cmd\git.exe –version
git version 2.42.0.windows.2

“C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw64\bin\git.exe” --version
git version 2.51.0.windows.2

On my colleague’s machine where it’s working:
C:\Users\auser\AppData\Local\Programs\Git\cmd\git.exe –version
git version 2.40.0.windows.1

Is the extension sensitive to the version of git it finds?

After removing ‘C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw64\bin’ from my system PATH I finally got 8.30 working again. 9.0.0 still doesn’t but I’m ignoring that for now.

1 Like

@CWDev Regarding 9.0 issues:

  1. Do you have any file exclusions defined? You can check in SonarQube > Solution Settings or SonarQube > Options > File Exclusions tab
  2. Does analysis start working if you press Ctrl + S with an active C# file? This should normally force analysis again
  3. The git command that was executed is definitely wrong, there is a bug, but you said you removed the other git from path and it started working again. Does that mean you don’t have the exception in the logs anymore?

It would be helpful if you checked 1) and 2) and then provided the full verbose logs from the beginning. This will allow us to better understand what’s going on.

I have now installed the latest version again.

I don’t have any file exclusions.

That’s right, I don’t get the exception any more since removing the additional git.exe from my PATH.

I have opened a single file and then typed ctrl + s and a process does seem to run but not really do anything:

startandrun.zip (6.2 KB)

I also deleted the contents of SLVS_SLOOP before this run in case previous runs were causing it, hence all the SQL logging.

After the last log entry the caret is just sitting flashing forever.

I must add that the shift from scanning a full solution automatically to only scanning individual files is a tremendous step back in usefulness and usability. Honestly I’m surprised version 9 was released with such a huge limitation compared to 8.