MSBuild mode: How to scan c#, csproj and nuget.config files in same scan?

Hi @ganncamp and @Andre_Hansen

We got a related request earlier from the community

We created an issue to track the rule request here:

We also did a short investigation on how to implement such a rule in the .Net analyzer back then. We only checked how such issues are reported in the IDE but not on the SonarQube/SonarCloud servers. We should consider adding *csproj, *.config, *.sln, and similar files by default. Without such files, the code view on the server is missing important artifacts anyway.

The two rules shown by @Andre_Hansen are interesting. Unfortunately, they are very noisy with a high false positive rate. If we add such rules, they will have to be disabled by default, and users will need to opt in explicitly.