-
VS 2015, sonarqube-8.9.0.43852, MSBuild 14
-
I’m trying setup sonar scan for my winform application. Everything has been working good so far but last “end” step is not working correctly.
-
Steps i’ve tried so far are…
- SonarScanner.MSBuild.exe begin /k:"" /d:sonar.host.url=“http://localhost:9000” /d:sonar.login=""
Output- OK (working)
-
MsBuild.exe direct.sln /t:Rebuild
Output- OK (I have multiple solution files under root directory therefore mention .sln in commandline argument)_
-
SonarScanner.MSBuild.exe end /d:sonar.login=""
Output- Error
13:51:58.833 No analysable projects were found. SonarQube analysis will not be performed. Check the build summary report for details.
13:51:58.834 Generation of the sonar-properties file failed. Unable to complete the analysis.
13:51:58.843 Post-processing failed. Exit code: 1
Details logs :
13:51:57.159 13:51:57.159 WARNING: Duplicate ProjectGuid: "5672e6f9-9481-4601-b26e-1775308dd1f7". The project will not be analyzed. Project file: "c:\code\main\shared\direct.shared\direct.shared.csproj"
13:51:57.161 13:51:57.161 WARNING: Duplicate ProjectGuid: "5672e6f9-9481-4601-b26e-1775308dd1f7". The project will not be analyzed. Project file: "v:\shared\direct.shared\direct.shared.csproj"
13:51:57.161 13:51:57.161 WARNING: Duplicate ProjectGuid: "aadfb4e1-e26b-4057-a36b-91ea7e163a26". The project will not be analyzed. Project file: "c:\code\main\shared\direct.interface\direct.interface.csproj"
13:51:57.162 13:51:57.162 WARNING: Duplicate ProjectGuid: "aadfb4e1-e26b-4057-a36b-91ea7e163a26". The project will not be analyzed. Project file: "v:\shared\direct.interface\direct.interface.csproj"
13:51:57.162 13:51:57.162 WARNING: Duplicate ProjectGuid: "073bcd60-f2fb-4db9-92fb-403c8f9e8dd0". The project will not be analyzed. Project file: "c:\code\main\shared\cab\compositeui.winforms\compositeui.winforms.csproj"
13:51:57.162 13:51:57.162 WARNING: Duplicate ProjectGuid: "073bcd60-f2fb-4db9-92fb-403c8f9e8dd0". The project will not be analyzed. Project file: "v:\shared\cab\compositeui.winforms\compositeui.winforms.csproj"
13:51:57.17 13:51:57.17 WARNING: Duplicate ProjectGuid: "633c2e7f-37ba-42bf-ac6e-6508ed7ab434". The project will not be analyzed. Project file: "v:\shared\direct.webserviceproxy\direct.webserviceproxy.csproj"
13:51:57.171 13:51:57.171 WARNING: Duplicate ProjectGuid: "633c2e7f-37ba-42bf-ac6e-6508ed7ab434". The project will not be analyzed. Project file: "c:\code\main\shared\direct.webserviceproxy\direct.webserviceproxy.csproj"
13:51:57.172 13:51:57.172 WARNING: Duplicate ProjectGuid: "c1995288-bf08-48e5-b962-33e63e428dba". The project will not be analyzed. Project file: "v:\direct\infrastructure\websocket-sharp\websocket-sharp.csproj"
13:51:57.172 13:51:57.172 WARNING: Duplicate ProjectGuid: "c1995288-bf08-48e5-b962-33e63e428dba". The project will not be analyzed. Project file: "c:\code\main\direct\infrastructure\websocket-sharp\websocket-sharp.csproj"
13:51:57.173 13:51:57.173 WARNING: Duplicate ProjectGuid: "ff7b9af9-abfd-42c8-a5f1-d9fd5f32c79d". The project will not be analyzed. Project file: "v:\direct\infrastructure\direct.stomp\direct.stomp.csproj"
13:51:57.174 13:51:57.174 WARNING: Duplicate ProjectGuid: "ff7b9af9-abfd-42c8-a5f1-d9fd5f32c79d". The project will not be analyzed. Project file: "c:\code\main\direct\infrastructure\direct.stomp\direct.stomp.csproj"
13:51:57.174 13:51:57.174 WARNING: Duplicate ProjectGuid: "a1701a9f-f58d-4bc9-9cde-66eb6e906a6b". The project will not be analyzed. Project file: "v:\direct\infrastructure\direct.messagehub.service\direct.messagehub.service\direct.messagehub.service.csproj"
13:51:57.175 13:51:57.175 WARNING: Duplicate ProjectGuid: "a1701a9f-f58d-4bc9-9cde-66eb6e906a6b". The project will not be analyzed. Project file: "c:\code\main\direct\infrastructure\direct.messagehub.service\direct.messagehub.service\direct.messagehub.service.csproj"
13:51:57.175 13:51:57.175 WARNING: Duplicate ProjectGuid: "c478e40b-a05e-4c69-9ab3-7a3bb374243f". The project will not be analyzed. Project file: "v:\shared\cab\compositeui\compositeui.csproj"
13:51:57.176 13:51:57.176 WARNING: Duplicate ProjectGuid: "c478e40b-a05e-4c69-9ab3-7a3bb374243f". The project will not be analyzed. Project file: "c:\code\main\shared\cab\compositeui\compositeui.csproj"
13:51:57.177 13:51:57.177 WARNING: Duplicate ProjectGuid: "863aff70-54c0-441e-b070-6fa2c3551bbb". The project will not be analyzed. Project file: "c:\code\main\shared\cab\scsf.infrastructure.interface\scsf.infrastructure.interface.csproj"
13:51:57.177 13:51:57.177 WARNING: Duplicate ProjectGuid: "863aff70-54c0-441e-b070-6fa2c3551bbb". The project will not be analyzed. Project file: "v:\shared\cab\scsf.infrastructure.interface\scsf.infrastructure.interface.csproj"
13:51:57.178 13:51:57.178 WARNING: Duplicate ProjectGuid: "b827aca6-5527-45dd-8ac9-e539c1aacb57". The project will not be analyzed. Project file: "v:\shared\utilities\restsender\restsender.csproj"
13:51:57.178 13:51:57.178 WARNING: Duplicate ProjectGuid: "b827aca6-5527-45dd-8ac9-e539c1aacb57". The project will not be analyzed. Project file: "c:\code\main\shared\utilities\restsender\restsender.csproj"
13:51:57.182 13:51:57.182 WARNING: Duplicate ProjectGuid: "6c92f6ed-6615-462c-8686-98ba7cab4c7b". The project will not be analyzed. Project file: "v:\shared\direct.shared.library\direct.shared.library.csproj"
13:51:57.183 13:51:57.183 WARNING: Duplicate ProjectGuid: "6c92f6ed-6615-462c-8686-98ba7cab4c7b". The project will not be analyzed. Project file: "c:\code\main\shared\direct.shared.library\direct.shared.library.csproj"
13:51:57.184 13:51:57.184 WARNING: Duplicate ProjectGuid: "d4035c68-1404-4e06-847b-ef03a647e3b7". The project will not be analyzed. Project file: "v:\direct\shell\direct.shell.interface\direct.shell.interface.csproj"
13:51:57.185 13:51:57.185 WARNING: Duplicate ProjectGuid: "d4035c68-1404-4e06-847b-ef03a647e3b7". The project will not be analyzed. Project file: "c:\code\main\direct\shell\direct.shell.interface\direct.shell.interface.csproj"
13:51:57.186 13:51:57.186 WARNING: Duplicate ProjectGuid: "1126e9fe-ca92-4d67-8da4-3e740a1ffe02". The project will not be analyzed. Project file: "v:\shared\cab\scsf.infrastructure.library\scsf.infrastructure.library.csproj"
13:51:57.187 13:51:57.187 WARNING: Duplicate ProjectGuid: "1126e9fe-ca92-4d67-8da4-3e740a1ffe02". The project will not be analyzed. Project file: "c:\code\main\shared\cab\scsf.infrastructure.library\scsf.infrastructure.library.csproj"
13:51:57.188 13:51:57.188 WARNING: Duplicate ProjectGuid: "6ec4d16e-4abf-430f-8302-3caaa1dd5549". The project will not be analyzed. Project file: "v:\shared\direct.shared.controls\direct.shared.controls.csproj"
13:51:57.189 13:51:57.189 WARNING: Duplicate ProjectGuid: "6ec4d16e-4abf-430f-8302-3caaa1dd5549". The project will not be analyzed. Project file: "c:\code\main\shared\direct.shared.controls\direct.shared.controls.csproj"
13:51:57.19 13:51:57.19 WARNING: Duplicate ProjectGuid: "3800c3f2-8659-4eff-a4bf-edfd5247cb5b". The project will not be analyzed. Project file: "v:\shared\direct.configuration\direct.configuration.csproj"
13:51:57.19 13:51:57.19 WARNING: Duplicate ProjectGuid: "3800c3f2-8659-4eff-a4bf-edfd5247cb5b". The project will not be analyzed. Project file: "c:\code\main\shared\direct.configuration\direct.configuration.csproj"
13:51:57.191 13:51:57.191 WARNING: Duplicate ProjectGuid: "52729294-ba18-4878-af00-d061d1ba81d7". The project will not be analyzed. Project file: "v:\shared\direct.rtsmicroservicessupport\direct.rtsmicroservicessupport.csproj"
13:51:57.192 13:51:57.192 WARNING: Duplicate ProjectGuid: "52729294-ba18-4878-af00-d061d1ba81d7". The project will not be analyzed. Project file: "c:\code\main\shared\direct.rtsmicroservicessupport\direct.rtsmicroservicessupport.csproj"
13:51:57.193 13:51:57.193 WARNING: Duplicate ProjectGuid: "0c490520-091e-474c-baaa-48bdcde0a3bf". The project will not be analyzed. Project file: "v:\direct\infrastructure\direct.executionresources\direct.executionresources.csproj"
13:51:57.193 13:51:57.193 WARNING: Duplicate ProjectGuid: "0c490520-091e-474c-baaa-48bdcde0a3bf". The project will not be analyzed. Project file: "c:\code\main\direct\infrastructure\direct.executionresources\direct.executionresources.csproj"
13:51:57.194 13:51:57.194 WARNING: Duplicate ProjectGuid: "5aeaa506-e509-4fca-984f-15acb481a418". The project will not be analyzed. Project file: "v:\shared\utilities\direct.autoupdate\direct.autoupdate.csproj"
13:51:57.197 13:51:57.197 WARNING: Duplicate ProjectGuid: "5aeaa506-e509-4fca-984f-15acb481a418". The project will not be analyzed. Project file: "c:\code\main\shared\utilities\direct.autoupdate\direct.autoupdate.csproj"
13:51:57.198 13:51:57.198 WARNING: Duplicate ProjectGuid: "33d5691e-0d8b-41e5-aa5f-781b6beb9a06". The project will not be analyzed. Project file: "v:\direct\infrastructure\direct.core\direct.core.csproj"
13:51:57.198 13:51:57.198 WARNING: Duplicate ProjectGuid: "33d5691e-0d8b-41e5-aa5f-781b6beb9a06". The project will not be analyzed. Project file: "c:\code\main\direct\infrastructure\direct.core\direct.core.csproj"
13:51:57.199 13:51:57.199 WARNING: Duplicate ProjectGuid: "e1a62015-4306-4ae6-8e55-2f163a7ef82b". The project will not be analyzed. Project file: "v:\direct\infrastructure\direct.framework\direct.framework.csproj"
13:51:57.2 13:51:57.2 WARNING: Duplicate ProjectGuid: "e1a62015-4306-4ae6-8e55-2f163a7ef82b". The project will not be analyzed. Project file: "c:\code\main\direct\infrastructure\direct.framework\direct.framework.csproj"
13:51:57.2 13:51:57.2 WARNING: Duplicate ProjectGuid: "f1cf6b11-8443-43b7-9717-0da98236957b". The project will not be analyzed. Project file: "v:\direct\shell\direct.shell.library\direct.shell.library.csproj"
13:51:57.201 13:51:57.201 WARNING: Duplicate ProjectGuid: "f1cf6b11-8443-43b7-9717-0da98236957b". The project will not be analyzed. Project file: "c:\code\main\direct\shell\direct.shell.library\direct.shell.library.csproj"
13:51:57.268 13:51:57.268 WARNING: Could not determine a suitable project base directory. Using the fallback C:\Code\MAIN\.sonarqube\out . Make sure that all dependencies of your project are available on your filesystem, as this fallback may lead to no result being show after the analysis.
13:51:57.277 13:51:57.277 WARNING: File 'C:\Code\MAIN\Direct\Infrastructure\WorkflowDataSender\ADSDispatcher.cs' is not located under the root directory 'C:\Code\MAIN\.sonarqube\out' and will not be analyzed.
13:51:57.277 13:51:57.277 WARNING: File 'C:\Code\MAIN\Direct\Infrastructure\WorkflowDataSender\Configuration\AutomationDetailsConfigurator.cs' is not located under the root directory 'C:\Code\MAIN\.sonarqube\out' and will not be analyzed.
13:51:57.278 13:51:57.278 WARNING: File 'C:\Code\MAIN\Direct\Infrastructure\WorkflowDataSender\ExecutionMapping.cs' is not located under the root directory 'C:\Code\MAIN\.sonarqube\out' and will not be analyzed.
13:51:58.833 No analysable projects were found. SonarQube analysis will not be performed. Check the build summary report for details.
13:51:58.834 Generation of the sonar-properties file failed. Unable to complete the analysis.
13:51:58.843 Post-processing failed. Exit code: 1
Hello
What version of the Scanner for MSBuild are you using?