Create a Sonar file for your solution
Here is the simplest "sonar-project.properties" file that you can write to be able to run a Sonar analysis for your project:
"sonar-project.properties" file for the Simple Java Runner
The "sonar.projectKey" parameter will create a unique identifier in Sonar for your C# solution.
C# plugins options
Every C# plugin defines its own options that can be overriden, may it be through the Sonar configuration file that you've just created or through Sonar "System Settings" web page. You will find below the pages that describe each C# plugin options: