I have gone through the previous questions on the subject but whatever answer was given does not seem to work for me
My setup is - Microsoft Visual Studio Community 2017 installed - SonarQube server Version 5.6.2 - SonarQube MSbuild Scanner: 4.2.0.1214
the log I am getting when running
Sensor org.sonar.plugins.csharp.CSharpSensor (done) | time=2847ms INFO: Sensor org.sonar.plugins.csharp.CSharpFxCopProvider$CSharpFxCopSensor INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 17.829s INFO: Final Memory: 21M/421M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution ERROR: The property "sonar.cs.fxcop.assembly" must be set and the project must have been built to execute FxCop rules. This property can be automatically set by the Analysis Bootstrapper for Visual Studio Projects plugin, see: http://docs.codehaus.org/x/TAA1Dg.If you wish to skip the analysis of not built projects, set the property "sonar.visualstudio.skipIfNotBuilt".
What I do not know is - how do I know that fxcop is enabled in the build process, if that makes any sense and if anything needs doing ? - why am I getting this error message when all the post I have seen tend to say "that should not happen if using sonar msbuild and visual studio"
thank you