My team uses local Azure build agents via Azure DevOps and I just started working on integrating SonarQube analysis into my YAML file.
The build with SonarQube is failing - an Error CS0234: The type or namespace name ‘Foo’ does not exist in the namespace ‘Bar’ (are you missing an assembly reference?) - the build worked on the build agents before I added the SonarQube Prepare task, so there must be something wrong with my configuration - any ideas?
Also, now that the build agent has failed I tried remove the SonarQube steps BUT the build still fails and I still see build output like “Sonar: (FooBar.csproj) Project processed successfully”. I have to manually delete the .sonarqube folder on the build agent, which is a pain - is there an easier way to “turn off” the “SonarQube prepare” (that .sonarqube folder) for that build on the build agent(s) that have ran SonarQube Prepare at least once?