SonarAnalyzer failed on Windows with CS0006

Ah, I think I now understand the problem. I’m unfamiliar with NUKE, but is this the order of the steps?

  1. Build NUKE project
  2. BEGIN
  3. Build business project
  4. END

If so, I suspect that the NUKE project build picks up the sonar configuration of the business project build, which breaks expectations. How it works is that the scanner puts this file in the machines ImportBefore folder. This causes every build to check for a local .sonarqube folder. If one is found, it looks for the analyzers on disk to include them in the build.

I suspect the NUKE project picks up the business project’s .sonarqube folder and then fails to locate the files on disk. Do you build the NUKE project from the same folder as the business project? Can you separate them?