We are using SonarLint and SonarQube, working on .net Framework projects Sonarlint works fine, but we discovered on our .Net Core projects SonarLint does not.
Any suggestions on how to fix it?
Thanks
We are using SonarLint and SonarQube, working on .net Framework projects Sonarlint works fine, but we discovered on our .Net Core projects SonarLint does not.
Any suggestions on how to fix it?
Thanks
Hi @Jlubbe. Welcome to the community.
Some questions:
Hello @duncanp thanks
Regards
Johan
Hi @Jlubbe
Does your IDE display any issues for the .NET Core app in the following zip?
NetCoreConsoleApp1.zip (1.4 KB)
I’d expect to see two issues in program.cs
:
Also, do any issues appear for your .NET Core project if it is not in Connected Mode?
Hello @duncanp
It does so why not on our projects?
Have you configured VS to disable live analysis?
Hello @duncanp
it does not seem to check the sonarqube rules at all, things like sync/async is not shown at all in .net core apps
Hi @Jlubbe,
Still the same issue
Hello @Jlubbe,
To repeat @duncanp’s questions, can you please check if your project settings have code analysis enabled?