I am trying to exclude some folders from Sonar scan through VSTS build. We have used Sonar plugin for MSBuild.
If I use the exclusion pattern as **/*.cs
then it is excluding all the .cs files. My goal is to exclude whole folder from scan.
I have tried the following patterns but none of them seems to work
**/folder/*
**/folder/*.cs
**/folder/**
**/folder/**/*
**/folder/**/*.cs
folder/*.cs
folder/**/*.cs
folder/**/*
folder/**
folder/*
Please help in getting the correct pattern.
I want to exclude This Issue project from the scan.