Analysis
The app's code is analysed to report on quality and on errors that can lead to bugs and incidents. The analysis is implemented as a Roslyn analyzer and is packaged with Altinn.App.Core. The analysis is available from v8.6.
- ALTINNAPP0001: Altinn app project not found
The analysis could not find the project directory and did not run
- ALTINNAPP0002: error in applicationmetadata.json
applicationmetadata.json is missing, duplicated or cannot be read
- ALTINNAPP0500: dangerous use of IHttpContextAccessor
IHttpContextAccessor.HttpContext should not be used in constructors
- ALTINNAPP9999: unknown analysis error
The analysis failed with an unexpected error