Exception when running .NET sonarcube

Hey trying to run a local analysis to setup a new Sonar project.
I’m hitting this error:
System.UnauthorizedAccessException: Acesso negado ao caminho 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\.sonarqube\bin'.

When executing:

e:\sonar-scanner-msbuild\SonarScanner.MSBuild.exe begin /k:"nanoframework_System.Security.Cryptography" /o:nanoframework /d:sonar.login=zzzzzzzzzzzzzzzzzzzzzz

I’ve haven’t used this in a while, so something must have change.
Appreciate your help on this.

Thanks!

Hi,

Google translate tells me this means “Path access denied”.

So it sounds like a permissions problem. Make sure the user running analysis has rights to run the scanner.

 
HTH,
Ann