which versions are you using (SonarQube, Plugin ): sonarqube 9.9,Branch plugin :1.14.0
what are you trying to achieve:Analyzing .net core project and getting error while build command as mentioned below:
C:\Users\bilals\source\repos\DotNetCore.sonarqube\bin\targets\SonarQube.Integration.targets(301,5): error MSB3491: Cou
ld not write lines to file “C:\Users\bilals\source\repos\DotNetCore.sonarqube\conf\11\FilesToAnalyze.txt”. The process
cannot access the file ‘C:\Users\bilals\source\repos\DotNetCore.sonarqube\conf\11\FilesToAnalyze.txt’ because it is b
eing used by another process. [C:\Users\bilals\source\repos\DotNetCore\Elsy.Web\Elsy.Web.csproj]
I am trying to get .net core analysis on sonarqube 9.9
Hi
We are analyzing .Net core project we have installed scanner globally by using dotnet tool install --global dotnet-sonarscanner command and version is 6.0.0 .
No we are analyzing only one project.
Thanks. v6.0 is relatively new, and I’d like to see if it could be the problem. Could you try an earlier version (like 5.15) and see if the issue persists?
We have changed the version of Sonar Scanner to the 5.15 and terminated the .Net core processes. Which is starting when we are hitting the build command i.e. dotnet build application.sln.
Also, we have deleted the .sonarqube file from the application and re-run the build solution also tried to provide cpu usage as well.
Is there any concrete solution for this issue? Please let us know.