title: CSC error CS0006: Metadata file 'SonarAnalyzer.dll' could not be found
body: <p>I'm having random problems during my build process in TeamCity. I've got two configurations: First for Rebuild + Unit test. Second as artifact dependency, with SonarQube analyzer. When Teamcity is executing first configuration, I'm receiving random error messages every 5-10 builds:</p>
  
  <blockquote>
    <p>CSC error CS0006: Metadata file
    'E:\TeamCity\buildAgent2\temp\buildTmp\.sonarqube\resources\0\Google.Protobuf.dll'
    could not be found</p>
    
    <p>CSC error CS0006: Metadata file
    'E:\TeamCity\buildAgent2\temp\buildTmp\.sonarqube\resources\0\SonarAnalyzer.CSharp.dll'
    could not be found</p>
    
    <p>CSC error CS0006: Metadata file
    'E:\TeamCity\buildAgent2\temp\buildTmp\.sonarqube\resources\0\SonarAnalyzer.dll'
    could not be found</p>
  </blockquote>
  
  <p>Errors are totally random - when I run process one more time without any changes, error is gone. When I check buildTmp\.sonarqube directory, there is nothing there, no matter if build was successful or not.</p>
  
  <p>I don't have any references in my project to those libraries and my Rebuild step has nothing to do with SonarQube. We are using SonarLint in VisualStudio 2017, but once again, we don't have any references to SonarQube in our *.csproj files.</p>