Skip to content

Update Program.cs #5818

Update Program.cs

Update Program.cs #5818

Triggered via pull request April 23, 2025 14:59
Status Failure
Total duration 1m 29s
Artifacts

codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Analyze
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.21.0/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
Analyze: BervProject.WebApi.Boilerplate/Program.cs#L22
'WebApplicationBuilder' does not contain a definition for 'AddServiceDefaults' and no accessible extension method 'AddServiceDefaults' accepting a first argument of type 'WebApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)
Analyze: BervProject.WebApi.Boilerplate/Program.cs#L22
'WebApplicationBuilder' does not contain a definition for 'AddServiceDefaults' and no accessible extension method 'AddServiceDefaults' accepting a first argument of type 'WebApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)