java.nio.file.AccessDeniedException accessing dotCover path

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Windows 10
    SonarScanner for MSBuild 4.7.1
  • what are you trying to achieve
    Trying to get the scanner to see the Resharper DotCover reports in my dotCover subder
  • what have you tried so far to achieve this
    Validated that the path is reachable.
    Also tried specifying the “.dcvr” file

Getting this warning:
Could not import coverage report ‘…\dotCover’ because ‘java.nio.file.AccessDeniedException: …\dotCover’


Report paths properties should be files should be sort of regex’ed and relative to the project root directory.

for exemple, for xml file : sonar.cs.dotcover.reportsPaths=…/dotCover/*.xml should do the trick

Please let me know.

Thanks !