We have a number of C# solutions that we are working on syncing with SonarLint.
I have noticed that when syncing connecting a project via sonarlint. The ruleset file in the .sonar folder is created with the project id with the casing matching how it appears in SonarQube. However the references to the ruleset file for each of the projects in the solution are in all lowercase.
This causes issues when running builds on our Linux machines since it can’t resolve the ruleset file.
IDE: Visual Studio 2019 (4.7.03190)
OS: Windows 10 Enterprise
SonarLint: SonarLint for Visual Studio 2019 (4.10.0.9867)
SonarQube: 7.7.0.23042
Steps to reproduce:
- Create a Project in SonarQube with an id like (AzureDevOps-Test-Project-123)
- Open Visual Studio and connect a project to the new project.
- The .sonarlint\ ruleset file will have a file name “AzureDevOps-Test-Project-123.ruleset” and the project ruleset will have an include that looks like the following
Stack Trace/Logs:
N/A