I’ve developed a.Net Core application using VS2019.
using SonarScanner for MSBuild 4.8
Pre-processing works fine - please see logs as belwo
SonarScanner for MSBuild 4.8
Using the .NET Core version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories…
20:53:52.384 Updating build integration targets…
20:53:52.484 Fetching analysis configuration settings…
20:53:53.664 Provisioning analyzer assemblies for cs…
20:53:53.666 Installing required Roslyn analyzers…
20:53:53.815 Pre-processing succeeded.
then restore nuget packages by - dotnet restore - successful
then build the project dotenet build - successful
now last end commmand - dotnet sonarscanner end
Logs are as below -
Post-processing started.
Calling the SonarQube Scanner…
The syntax of the command is incorrect.
The SonarQube Scanner did not complete successfully
20:54:59.261 Post-processing failed. Exit code: 1
running the begin command with - dotnet sonarscanner begin /k:APIName /d:sonar.host.url=https://url.com
any help !! have been trying for many hours now.