...
Create a 'sonar-project.propeties' file and place it in the same folder as the Solution file (".sln").
Here is the simplest 'sonar-project.properties' file that you can write to be able to run a Sonar analysis on your project:Code Block title sonar-project.properties language html/xml # Project identification sonar.projectKey=com.mycompany:myCSharpApplication sonar.projectVersion=1.0-SNAPSHOT sonar.projectName=My C# Application # Info required for Sonar sonar.sources=. sonar.language=csRun the following command from your Solution folder:
Code Block language none sonar-runner
...
As it used to be the case for the .NET Plugins, Maven can be used to launch Sonar analyses on your C# code base.
If you are familiar with maven, you can also use the maven-dotnet-plugin in order to compile and package dotnet projects. If you already use a CI tools tool such as Jenkins or Hudson on java maven Java Maven projects, you can use the maven-dotnet-plugin to handle dotnet .Net projects the same way
The POM file
...

