Skip to content

Feature/xacmlvalidation #1028

Feature/xacmlvalidation

Feature/xacmlvalidation #1028

Triggered via pull request October 25, 2024 14:42
Status Failure
Total duration 3m 17s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Analyze (csharp): src/Altinn.ResourceRegistry/Controllers/ResourceController.cs#L17
Using directive for 'System.Xml' should appear before directive for 'Microsoft.AspNetCore.Mvc.ModelBinding.Validation' (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1208.md)
Analyze (csharp): src/Altinn.ResourceRegistry/Controllers/ResourceController.cs#L17
Using directive for 'System.Xml' should appear before directive for 'Microsoft.AspNetCore.Mvc.ModelBinding.Validation' (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1208.md)
Analyze (csharp)
Assets file '/home/runner/work/altinn-resource-registry/altinn-resource-registry/src/Altinn.ResourceRegistry/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/altinn-resource-registry/altinn-resource-registry/test/Altinn.ResourceRegistry.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/altinn-resource-registry/altinn-resource-registry/src/Altinn.ResourceRegistry.Core/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/altinn-resource-registry/altinn-resource-registry/src/Altinn.ResourceRegistry.Persistence/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/altinn-resource-registry/altinn-resource-registry/src/Altinn.ResourceRegistry.Integration/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/altinn-resource-registry/altinn-resource-registry/test/Altinn.ResourceRegistry.Persistence.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/altinn-resource-registry/altinn-resource-registry/test/Altinn.ResourceRegistry.TestUtils/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
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.19.2/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.