diff --git a/DotNet5WebApi/WeatherForecast.cs b/DotNet5WebApi/WeatherForecast.cs index 3eacf46..a93faa6 100644 --- a/DotNet5WebApi/WeatherForecast.cs +++ b/DotNet5WebApi/WeatherForecast.cs @@ -12,10 +12,10 @@ public class WeatherForecast public bool IsFreezing() { + int notused = 1; return TemperatureC <= 0; } - public string Summary { - get; set; } + public string Summary { get; set; } } } diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a158820..fd91db6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,6 +28,8 @@ steps: scannerMode: 'MSBuild' projectKey: 'christophehavard_DotNet5WebApi_SC' projectName: 'DotNet5WebApi_SC' + extraProperties: | + sonar.verbose=true - task: VSBuild@1 inputs: solution: '$(solution)'