AL-Go version
9.0
Describe the issue
When compiling a testapp with appsourcecop always an error is reported even if prefix is in settings:
Error: AS0054 The AppSourceCop configuration must specify one of the following properties: 'mandatorySuffix', 'mandatoryPrefix', or 'mandatoryAffixes'
Expected behavior
buildprocess should create appsourcecop.json also for test apps if enableCodeAnalyzersOnTestApps is set to true
Steps to reproduce
- create new repo
- create app
- create testapp
- configure affixes
- enable enableCodeAnalyzersOnTestApps
Additional context (logs, screenshots, etc.)
Full Build logs: logs_71079833457.zip
Repro Repo: https://github.com/ChrisBlankDe/ALGoAscOnTestApp
Tested with these settings:
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v9.0/.Modules/settings.schema.json",
"country": "us",
"appSourceCopMandatoryAffixes": [
"PTE"
],
"appFolders": [],
"testFolders": [],
"bcptTestFolders": [],
"enableCodeAnalyzersOnTestApps": true,
"useCompilerFolder": true,
"doNotPublishApps": true
}
AL-Go version
9.0
Describe the issue
When compiling a testapp with appsourcecop always an error is reported even if prefix is in settings:
Error: AS0054 The AppSourceCop configuration must specify one of the following properties: 'mandatorySuffix', 'mandatoryPrefix', or 'mandatoryAffixes'Expected behavior
buildprocess should create appsourcecop.json also for test apps if enableCodeAnalyzersOnTestApps is set to true
Steps to reproduce
Additional context (logs, screenshots, etc.)
Full Build logs: logs_71079833457.zip
Repro Repo: https://github.com/ChrisBlankDe/ALGoAscOnTestApp
Tested with these settings:
{ "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v9.0/.Modules/settings.schema.json", "country": "us", "appSourceCopMandatoryAffixes": [ "PTE" ], "appFolders": [], "testFolders": [], "bcptTestFolders": [], "enableCodeAnalyzersOnTestApps": true, "useCompilerFolder": true, "doNotPublishApps": true }