I have setup SonarQube with the following: sonarqube-5.4, MSBuild.SonarQube.Runner-2.0, VS 2013 (target .NET Framework 4.5.1), SQL Server 2014 Express, Windows 7 Professional SP1 64-bit OS.
I am able to execute sonarqube runner for one .NET project (.csproj) successfully and generate the results. Now I would like to execute MSBuild.SonarQube.Runner-2.0 for a .NET solution (.sln) which has many .csproj entries.
The folder structure is as below:
RootFolder has a .sln file, and each project (.csproj) is created in a separate folder inside the root folder. Unit tests for each project are also created in a separate folder inside the root folder. For example:
RootFolder -> Project.sln
RootFolder -> ProjectABCFolder -> ProjectABC.csproj
RootFolder -> ProjectABCTestsFolder -> ProjectABCTests.csproj
RootFolder -> ProjectXYZFolder -> ProjectXYZ.csproj
RootFolder -> ProjectXYZTestsFolder -> ProjectXYZTests.csproj
Can you help me on the following ?
- How to execute the .sln file - what the required entries / settings to be made ?
- How to skip the unit test projects ?
- How to include the unit test projects ?
- How to execute the VS Code Analysis ?