Hello we are using Visual Studio 2022 and SonarQube with Developer edition 9.5.0.56709. We are trying to use SonarLint connected edition and after looking at community posts in this forums as well as using the following sample as guide:
We have also checked in this Directory.Build.Props and the .sonarlint folder into GitHub but everytime I open Visual Studio SonarLint output windows says that there are unbound project and then goes ahead to edit csproj files with following entry:
It doesnt create local rulesets for every project which it was doing before having the Directory.Build.props file so I know the props file is working but not sure if I missed some settings or configuration to avoid the SonarLint.xml entry in all the csproj files. Please find the Directory.Build.Props content below:
I have removed the folder name which contains the sonarlint.xml file.
I have tried with and without Itemgroup entry present in the props file, I don’t get any different result. Also my solution file, Directory.Build.Props file and .sonarlint folder are in same folder.