not being picked up

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube 7.6, Scanner for MSBuild
  • what are you trying to achieve
    I am trying to include my settings in the file in the root of my solution.
  • what have you tried so far to achieve this
    I am adding the sonar.projectKey variable to my file, but when I run the scanner I get the following error:

A required argument is missing: /key:[SonarQube project key]

The contents of my file are:



What’s your analysis command, from what directory do you execute it, and is your (the name is case sensitive) located in that directory?


Hi Ann,

Sorry for a delayed reply. Apparently Scanner for MSBuild is using a different format of properties file - SonarQube.Analysis.xml. It is extremely confusing to have config files in different formats for different scanners. Especially when looking for a way to specify something in the config file.

Do you happen to know if there is a way to submit an enhancement request to the SonarQube team?


Hi Bo,

Feel free to start a new thread in the 'Suggest new features` category.


1 Like