HodorNV / ALOps

ALOps
58 stars 24 forks source link

Resourceexposurepolicy empty on ALOpsAppCompiler@2 #465

Closed Arthurvdv closed 2 years ago

Arthurvdv commented 2 years ago

Describe the bug In the template of our pipeline we've set the resourceExposurePolicy's, so that all projects would automagically get these new properties. Is this a wrong assumption?

ALOpsAppCompiler does adds a resourceExposurePolicy to the app.json, but it's a empty object? Or is this expected behavior, because this also are somehow the default settings?

"resourceExposurePolicy": {
}

Sniplet from our template the used yaml please provide the yaml that you used. It helps you put the yaml like this:

parameters:
  artifactversion: ''
  artifacttype: 'Sandbox'
  artifactcountry: 'W1'
  versionselect: ''
  ruleset: ''
  appversiontemplate: ''
  updatebuildnumber: false
  alcodeanalyzer: ''
  resourceexposurepolicy_allowdebugging: 'true'
  resourceexposurepolicy_allowdownloadingsource: 'false'
  resourceexposurepolicy_includesourceinsymbolfile: 'false'
  applicationinsightskey: ''
  failonwarnings: true
  publishartifact: false
  sastoken: ''
  pfx_path: ''
  pfx_password: ''

steps:
- task: ALOpsAppCompiler@2
  displayName: 'Compile Extension'
  condition: succeeded()
  inputs:
    artifactversion: '${{ parameters.artifactversion }}'
    artifacttype: '${{ parameters.artifacttype }}'
    artifactcountry: '${{ parameters.artifactcountry }}'
    versionselect: '${{ parameters.versionselect }}'
    alsourcepath: '$(System.DefaultWorkingDirectory)\App'
    ruleset: '${{ parameters.ruleset }}'
    appversiontemplate: '${{ parameters.appversiontemplate }}'
    updatebuildnumber: '${{ parameters.updatebuildnumber }}'
    alcodeanalyzer: '$(alcodeanalyzer)'
    resourceexposurepolicy_allowdebugging: '${{ parameters.resourceexposurepolicy_allowdebugging }}'
    resourceexposurepolicy_allowdownloadingsource: '${{ parameters.resourceexposurepolicy_allowdownloadingsource }}'
    resourceexposurepolicy_includesourceinsymbolfile: '${{ parameters.resourceexposurepolicy_includesourceinsymbolfile }}'
    applicationinsightskey: '${{ parameters.applicationinsightskey }}'
    failonwarnings: ${{ parameters.failonwarnings }}
    publishartifact: ${{ parameters.publishartifact }}
    sastoken: '${{ parameters.sastoken }}'

- task: ALOpsAppSign@1
  displayName: 'Sign Extension'
  condition: and(succeeded(), eq('${{ parameters.publishartifact }}', 'true'))
  inputs:
    pfx_path: '${{ parameters.pfx_path }}'
    pfx_password: '${{ parameters.pfx_password }}'

the output Also the complete output is necessary for us to see what is going on. Also use backtics:

2021-12-08T09:58:51.4315737Z ##[section]Starting: Compile Extension
2021-12-08T09:58:51.4418044Z ==============================================================================
2021-12-08T09:58:51.4418253Z Task         : ALOps App Compiler
2021-12-08T09:58:51.4418424Z Description  : Compile AL Extension(s) for Business Central
2021-12-08T09:58:51.4418579Z Version      : 2.0.2712
2021-12-08T09:58:51.4418707Z Author       : Hodor
2021-12-08T09:58:51.4418884Z Help         : Compile Business Central extension(s) from AL code.
2021-12-08T09:58:51.4419082Z ==============================================================================
2021-12-08T09:58:52.4885904Z ******************************************************************************
2021-12-08T09:58:52.4891912Z *** ALOps v2 - Preview                                                     ***
2021-12-08T09:58:52.4896095Z ******************************************************************************
2021-12-08T09:58:52.4899709Z *** Importing required ALOps-Functions
2021-12-08T09:58:52.7748257Z *** Task Inputs:
2021-12-08T09:58:52.7781833Z 
2021-12-08T09:58:52.7859816Z name                                             value                                                                 
2021-12-08T09:58:52.7860349Z ----                                             -----                                                                 
2021-12-08T09:58:52.7862384Z artifactversion                                                                                                        
2021-12-08T09:58:52.7862856Z artifacttype                                     Sandbox                                                               
2021-12-08T09:58:52.7863262Z artifactcountry                                  base                                                                  
2021-12-08T09:58:52.7864515Z versionselect                                                                                                          
2021-12-08T09:58:52.7865009Z alternativevsixurl                                                                                                     
2021-12-08T09:58:52.7866579Z alsourcepath                                     C:\azure-vsts-agent-build\_work\175\s\App                             
2021-12-08T09:58:52.7867052Z ruleset                                          appsource.default.ruleset.json                                        
2021-12-08T09:58:52.7868472Z appversiontemplate                               ?.?.*.0                                                               
2021-12-08T09:58:52.7868938Z updatebuildnumber                                True                                                                  
2021-12-08T09:58:52.7878365Z appfilenametemplate                              %APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC...
2021-12-08T09:58:52.7878809Z alcodeanalyzer                                   CodeCop,UICop,AppSourceCop                                            
2021-12-08T09:58:52.7880242Z showmycode                                       Keep                                                                  
2021-12-08T09:58:52.7880627Z resourceexposurepolicy_allowdebugging            true                                                                  
2021-12-08T09:58:52.7881145Z resourceexposurepolicy_allowdownloadingsource    false                                                                 
2021-12-08T09:58:52.7882803Z resourceexposurepolicy_includesourceinsymbolfile false                                                                 
2021-12-08T09:58:52.7883570Z applicationinsightskey                                                                                                 
2021-12-08T09:58:52.7884336Z alcachepath                                      C:\azure-vsts-agent-build\_work\175\s                                 
2021-12-08T09:58:52.7885122Z publishartifact                                  True                                                                  
2021-12-08T09:58:52.7886729Z publishxlif                                      False                                                                 
2021-12-08T09:58:52.7887055Z failonwarnings                                   True                                                                  
2021-12-08T09:58:52.7887389Z storageaccount                                                                                                         
2021-12-08T09:58:52.7887901Z sastoken                                                                                                               
2021-12-08T09:58:52.7889370Z printappmanifest                                 True                                                                  
2021-12-08T09:58:52.7889795Z outputalclogs                                    True                                                                  
2021-12-08T09:58:52.7890704Z additionalprobingpaths                                                                                                 
2021-12-08T09:58:52.7890906Z 
2021-12-08T09:58:52.7904253Z 
2021-12-08T09:58:52.7909769Z 
2021-12-08T09:58:52.8017008Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-12-08T09:58:52.8019197Z 
2021-12-08T09:58:53.2152851Z *** ALOps License:
2021-12-08T09:58:53.2165495Z   * Licensed To: Van Roey (Collection License)
2021-12-08T09:58:53.2168418Z 
2021-12-08T09:58:53.3750857Z *** Importing required Task-Functions
2021-12-08T09:58:55.4998644Z 
2021-12-08T09:58:55.5133120Z *** Artifact Type   : [Sandbox]
2021-12-08T09:58:55.5136572Z *** Artifact Version: []
2021-12-08T09:58:55.5140347Z *** Artifact Country: [base]
2021-12-08T09:58:55.5143806Z *** AL Source Path  : [C:\azure-vsts-agent-build\_work\175\s\App]
2021-12-08T09:58:55.5147176Z *** AL Cache Path   : [C:\azure-vsts-agent-build\_work\175\s]
2021-12-08T09:58:55.5149084Z 
2021-12-08T09:58:55.5167099Z 
2021-12-08T09:58:55.5325387Z *** Default Working Folder: C:\azure-vsts-agent-build\_work\175\s
2021-12-08T09:58:55.5329931Z *** Artifact Folder       : C:\azure-vsts-agent-build\_work\175\a
2021-12-08T09:58:55.5334277Z *** Agent Tool Folder     : C:\azure-vsts-agent-build\_work\_tool
2021-12-08T09:58:55.5338663Z *** Agent Temp Folder     : C:\azure-vsts-agent-build\_work\_temp
2021-12-08T09:58:55.5340560Z 
2021-12-08T09:58:55.5368274Z *** Resolving Path: [C:\azure-vsts-agent-build\_work\175\s\App]
2021-12-08T09:58:55.5402670Z *** AL Source Folder      : C:\azure-vsts-agent-build\_work\175\s\App
2021-12-08T09:58:55.5407419Z *** Resolving Path: [C:\azure-vsts-agent-build\_work\175\s]
2021-12-08T09:58:55.5414917Z *** AL Cache Folder       : C:\azure-vsts-agent-build\_work\175\s
2021-12-08T09:58:55.5416777Z 
2021-12-08T09:58:55.5427622Z *** Check BcContainerHelper
2021-12-08T09:58:55.5741362Z *** Load BcContainerHelper
2021-12-08T09:58:55.7003127Z BcContainerHelper version 2.0.22
2021-12-08T09:58:56.3493105Z 
2021-12-08T09:58:56.3497482Z 
2021-12-08T09:58:56.3545880Z ##[command]"Get-BCArtifactUrl" 
2021-12-08T09:58:56.3546380Z Name                           Value                                                                                   
2021-12-08T09:58:56.3546803Z ----                           -----                                                                                   
2021-12-08T09:58:56.3547138Z country                        base                                                                                    
2021-12-08T09:58:56.3547464Z type                           Sandbox                                                                                 
2021-12-08T09:58:56.3547622Z 
2021-12-08T09:58:56.3547683Z 
2021-12-08T09:58:56.3547846Z  -country: base -type: Sandbox
2021-12-08T09:58:59.2803208Z *** Platform: c:\bcartifacts.cache\sandbox\19.1.31886.33497\platform
2021-12-08T09:58:59.2817395Z *** Localisation: c:\bcartifacts.cache\sandbox\19.1.31886.33497\base
2021-12-08T09:58:59.3088271Z *** BC Management DLL: C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\ServiceTier\program files\Microsoft Dynamics NAV\190\Service\Microsoft.Dynamics.Nav.Management.dll
2021-12-08T09:58:59.3595272Z *** BC App Management DLL: C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\ServiceTier\program files\Microsoft Dynamics NAV\190\Service\Microsoft.Dynamics.Nav.Apps.Management.dll
2021-12-08T09:58:59.3875689Z *** Get [*.app] and [app.json] files recursive from [C:\azure-vsts-agent-build\_work\175\s\App]
2021-12-08T09:58:59.3939350Z *** Found [1] file.
2021-12-08T09:58:59.3943924Z *** Extract App detail from [C:\azure-vsts-agent-build\_work\175\s\App\app.json]
2021-12-08T09:58:59.4112485Z *** Starting Batch compile of Apps:
2021-12-08T09:58:59.4135116Z   * C:\azure-vsts-agent-build\_work\175\s\App
2021-12-08T09:58:59.4142833Z *** Start Compiling: [C:\azure-vsts-agent-build\_work\175\s\App]
2021-12-08T09:58:59.4546911Z *** Get App Information
2021-12-08T09:58:59.4571366Z *** Loading Json Object: [C:\azure-vsts-agent-build\_work\175\s\App\app.json]
2021-12-08T09:58:59.4584746Z   * Id         : 498ca727-ae8b-49ba-9e28-d73e8d677173
2021-12-08T09:58:59.4589057Z   * Publisher  : VanRoey.be
2021-12-08T09:58:59.4593141Z   * Name       : Document Sender
2021-12-08T09:58:59.4596894Z   * Description: Document Sender
2021-12-08T09:58:59.4608718Z *** Add 'resourceExposurePolicy' in App Manifest
2021-12-08T09:58:59.4621400Z *** Overrule 'ResourceExposurePolicy.allowDebugging': TRUE
2021-12-08T09:58:59.4625409Z *** Overrule 'ResourceExposurePolicy.allowDownloadingSource': FALSE
2021-12-08T09:58:59.4629457Z *** Overrule 'ResourceExposurePolicy.includeSourceInSymbolFile': FALSE
2021-12-08T09:58:59.4813466Z *** Retaining original [Major] from version (?.0.0.0)
2021-12-08T09:58:59.4834963Z *** Retaining original [Minor] from version (0.?.0.0)
2021-12-08T09:58:59.4847887Z *** Setting Managed App Version [C:\azure-vsts-agent-build\_work\175\s\App\app.json] =>  1.0.24078.0
2021-12-08T09:58:59.4929080Z *** VSCode Settings: [C:\azure-vsts-agent-build\_work\175\s\App\.vscode\settings.json]
2021-12-08T09:58:59.4935780Z *** VSCode-Settings json found.
2021-12-08T09:58:59.4941109Z *** Loading Json Object: [C:\azure-vsts-agent-build\_work\175\s\App\.vscode\settings.json]
2021-12-08T09:58:59.4989651Z *** Overrule VSCode settings RuleSetPath: appsource.default.ruleset.json
2021-12-08T09:58:59.4993552Z *** Using Ruleset: [appsource.default.ruleset.json]
2021-12-08T09:58:59.5034589Z ##[command]"Get-BCArtifactUrl" 
2021-12-08T09:58:59.5035589Z Name                           Value                                                                                   
2021-12-08T09:58:59.5036313Z ----                           -----                                                                                   
2021-12-08T09:58:59.5036648Z select                         Latest                                                                                  
2021-12-08T09:58:59.5037126Z type                           Sandbox                                                                                 
2021-12-08T09:58:59.5037446Z country                        base                                                                                    
2021-12-08T09:58:59.5037597Z 
2021-12-08T09:58:59.5037655Z 
2021-12-08T09:58:59.5037715Z 
2021-12-08T09:59:01.2807883Z *** Platform: c:\bcartifacts.cache\sandbox\19.1.31886.33497\platform
2021-12-08T09:59:01.2817549Z *** Localisation: c:\bcartifacts.cache\sandbox\19.1.31886.33497\base
2021-12-08T09:59:01.3032913Z *** VSIX Path: C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\ModernDev\program files\Microsoft Dynamics NAV\190\AL Development Environment\ALLanguage.vsix
2021-12-08T09:59:01.3063606Z *** ALC Path: C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\alc.exe
2021-12-08T09:59:01.3079309Z *** Nav.CodeAnalysis Path: C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
2021-12-08T09:59:01.3907181Z *** Get Localised Apps [0]
2021-12-08T09:59:01.4872214Z *** Get Platform Apps [109]
2021-12-08T09:59:01.4878354Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\APIV1\Source\Microsoft__Exclude_APIV1_.app
2021-12-08T09:59:01.5438184Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\APIV1\Test\Microsoft__Exclude_APIV1_ Tests.app
2021-12-08T09:59:01.5498938Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\APIV2\Source\Microsoft__Exclude_APIV2_.app
2021-12-08T09:59:01.5575573Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\APIV2\Test\Microsoft__Exclude_APIV2_ Tests.app
2021-12-08T09:59:01.5601860Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Application\Source\Microsoft_Application.app
2021-12-08T09:59:01.5625197Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Base Application.app
2021-12-08T09:59:01.7420315Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Czech language (Czechia).app
2021-12-08T09:59:01.7456125Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Danish language (Denmark).app
2021-12-08T09:59:01.7487572Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Belgium).app
2021-12-08T09:59:01.7517721Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Netherlands).app
2021-12-08T09:59:01.7552150Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_English language (Australia).app
2021-12-08T09:59:01.7581951Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_English language (Canada).app
2021-12-08T09:59:01.7610960Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_English language (New Zealand).app
2021-12-08T09:59:01.7640077Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_English language (United Kingdom).app
2021-12-08T09:59:01.7668190Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_English language (United States).app
2021-12-08T09:59:01.7693231Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Finnish language (Finland).app
2021-12-08T09:59:01.7718981Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_French language (Belgium).app
2021-12-08T09:59:01.7748361Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_French language (Canada).app
2021-12-08T09:59:01.7778082Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_French language (France).app
2021-12-08T09:59:01.7809941Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_French language (Switzerland).app
2021-12-08T09:59:01.7841532Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_German language (Austria).app
2021-12-08T09:59:01.7871276Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_German language (Germany).app
2021-12-08T09:59:01.7900704Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_German language (Switzerland).app
2021-12-08T09:59:01.7930659Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Icelandic language (Iceland).app
2021-12-08T09:59:01.7958815Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Italian language (Italy).app
2021-12-08T09:59:01.7988793Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Italian language (Switzerland).app
2021-12-08T09:59:01.8017637Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Norwegian language (Norway).app
2021-12-08T09:59:01.8045188Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Russian language (Russia).app
2021-12-08T09:59:01.8070704Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Mexico).app
2021-12-08T09:59:01.8096454Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Spain).app
2021-12-08T09:59:01.8122868Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Source\Microsoft_Swedish language (Sweden).app
2021-12-08T09:59:01.8149339Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Library-NoTransactions.app
2021-12-08T09:59:01.8167922Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Bank.app
2021-12-08T09:59:01.8187474Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Cash Flow.app
2021-12-08T09:59:01.8206988Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Cost Accounting.app
2021-12-08T09:59:01.8226781Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-CRM integration.app
2021-12-08T09:59:01.8247373Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Data Exchange.app
2021-12-08T09:59:01.8266606Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Dimension.app
2021-12-08T09:59:01.8286912Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-ERM.app
2021-12-08T09:59:01.8498189Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Fixed Asset.app
2021-12-08T09:59:01.8519248Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-General Journal.app
2021-12-08T09:59:01.8539788Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Graph.app
2021-12-08T09:59:01.8562411Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Integration.app
2021-12-08T09:59:01.8582710Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Invoicing.app
2021-12-08T09:59:01.8610416Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Job.app
2021-12-08T09:59:01.8630609Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Local.app
2021-12-08T09:59:01.8648662Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Marketing.app
2021-12-08T09:59:01.8668249Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Misc.app
2021-12-08T09:59:01.8698451Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Monitor Sensitive Fields.app
2021-12-08T09:59:01.8717093Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Permissions.app
2021-12-08T09:59:01.8736124Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Physical Inventory.app
2021-12-08T09:59:01.8758335Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Prepayment.app
2021-12-08T09:59:01.8777392Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Rapid Start.app
2021-12-08T09:59:01.8796964Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Report.app
2021-12-08T09:59:01.8816030Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Resource.app
2021-12-08T09:59:01.8834816Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Reverse.app
2021-12-08T09:59:01.8854127Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-SCM.app
2021-12-08T09:59:01.9069069Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-SINGLESERVER.app
2021-12-08T09:59:01.9092215Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-SMB.app
2021-12-08T09:59:01.9115578Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-SMTP.app
2021-12-08T09:59:01.9134463Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2021-12-08T09:59:01.9168934Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Upgrade.app
2021-12-08T09:59:01.9191696Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-User.app
2021-12-08T09:59:01.9211152Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-VAT.app
2021-12-08T09:59:01.9232890Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\BaseApp\Test\Microsoft_Tests-Workflow.app
2021-12-08T09:59:01.9255790Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\ClientAddIns\Source\Microsoft__Exclude_ClientAddIns_.app
2021-12-08T09:59:01.9274906Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\CompanyHub\Source\Microsoft_Company Hub.app
2021-12-08T09:59:01.9300419Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\CompanyHub\Test\Microsoft_Company Hub Tests.app
2021-12-08T09:59:01.9319479Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\DataArchive\app\Microsoft_Data Archive.app
2021-12-08T09:59:01.9340287Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\DataArchive\test\Microsoft_Data Archive Tests.app
2021-12-08T09:59:01.9359019Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\datacorrectionfa\source\Microsoft_Troubleshoot FA Ledger Entries.app
2021-12-08T09:59:01.9382249Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - Current User Connector\Source\Microsoft_Email - Current User Connector.app
2021-12-08T09:59:01.9403600Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - Current User Connector\Test\Microsoft_Email - Current User Connector Tests.app
2021-12-08T09:59:01.9425491Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - Microsoft 365 Connector\Source\Microsoft_Email - Microsoft 365 Connector.app
2021-12-08T09:59:01.9448378Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - Microsoft 365 Connector\Test\Microsoft_Email - Microsoft 365 Connector Tests.app
2021-12-08T09:59:01.9468093Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - Outlook REST API\Source\Microsoft_Email - Outlook REST API.app
2021-12-08T09:59:01.9489200Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - Outlook REST API\Test\Microsoft_Library Outlook REST API.app
2021-12-08T09:59:01.9508526Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - SMTP Connector\Source\Microsoft_Email - SMTP Connector.app
2021-12-08T09:59:01.9530198Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\Email - SMTP Connector\Test\Microsoft_Email - SMTP Connector Tests.app
2021-12-08T09:59:01.9550792Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\EssentialBusinessHeadlines\Source\Microsoft_Essential Business Headlines.app
2021-12-08T09:59:01.9575140Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\EssentialBusinessHeadlines\Test\Microsoft_Essential Business Headlines Test.app
2021-12-08T09:59:01.9594536Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\LatePaymentPredictor\Source\Microsoft_Late Payment Prediction.app
2021-12-08T09:59:01.9617620Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\LatePaymentPredictor\Test\Microsoft_Late Payment Prediction Tests.app
2021-12-08T09:59:01.9636335Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\microsoftuniversalprint\source\Microsoft_Universal Print Integration.app
2021-12-08T09:59:01.9658530Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\onprem permissions\source\Microsoft_OnPrem Permissions.app
2021-12-08T09:59:01.9695261Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\onprem permissions\test\Microsoft_OnPrem Permissions Tests.app
2021-12-08T09:59:01.9714298Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\paypalpaymentsstandard\source\Microsoft_PayPal Payments Standard.app
2021-12-08T09:59:01.9737968Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\paypalpaymentsstandard\test\Microsoft_PayPal Payments Standard Tests.app
2021-12-08T09:59:01.9757311Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\recommendedapps\source\Microsoft_Recommended Apps.app
2021-12-08T09:59:01.9777884Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\recommendedapps\test\Microsoft_Recommended Apps Tests.app
2021-12-08T09:59:01.9796320Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\salesandinventoryforecast\source\Microsoft_Sales and Inventory Forecast.app
2021-12-08T09:59:01.9821374Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\salesandinventoryforecast\test\Microsoft_Sales and Inventory Forecast Tests.app
2021-12-08T09:59:01.9840038Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\sendtoemailprinter\source\Microsoft_Send To Email Printer.app
2021-12-08T09:59:01.9866180Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\simplifiedbankstatementimport\source\Microsoft_Simplified Bank Statement Import.app
2021-12-08T09:59:01.9891040Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\system application\source\Microsoft_System Application.app
2021-12-08T09:59:02.0063828Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\system application\test\Microsoft_System Application Test Library.app
2021-12-08T09:59:02.0093818Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\system application\test\Microsoft_System Application Test.app
2021-12-08T09:59:02.0123370Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Samples.app
2021-12-08T09:59:02.0143504Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Tests.app
2021-12-08T09:59:02.0162920Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit.app
2021-12-08T09:59:02.0183408Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\TestLibraries\Any\Microsoft_Any.app
2021-12-08T09:59:02.0201963Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\TestLibraries\Assert\Microsoft_Library Assert.app
2021-12-08T09:59:02.0220250Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app
2021-12-08T09:59:02.0238617Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app
2021-12-08T09:59:02.0257154Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\testframework\TestRunner\Microsoft_Test Runner.app
2021-12-08T09:59:02.0276286Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\uksendremittanceadvice\source\Microsoft_Send remittance advice by email.app
2021-12-08T09:59:02.0296159Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\vatgroupmanagement\source\Microsoft_VAT Group Management.app
2021-12-08T09:59:02.0323387Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Applications\vatgroupmanagement\test\Microsoft_VAT Group Management Tests.app
2021-12-08T09:59:02.0344739Z   * C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\ModernDev\program files\Microsoft Dynamics NAV\190\AL Development Environment\System.app
2021-12-08T09:59:02.0381411Z *** Retained Platform Apps [109]
2021-12-08T09:59:02.0394223Z *** Loaded [109] Apps
2021-12-08T09:59:02.0404696Z *** Get Build Apps [0]
2021-12-08T09:59:02.0408347Z *** AL Cache: [C:\azure-vsts-agent-build\_work\175\s]
2021-12-08T09:59:02.0436198Z *** Loaded [0] AL Apps
2021-12-08T09:59:02.0482252Z *** AL Language Version: 8.1.543216
2021-12-08T09:59:02.0500859Z *** App To Build: [C:\azure-vsts-agent-build\_work\175\a\VanRoey.be_Document Sender_1.0.24078.0_sandbox_19.1_base.app]
2021-12-08T09:59:02.0505031Z *** Checking for Assemblies in App
2021-12-08T09:59:02.0528343Z *** Add Windows Assembly Path [C:\Windows\assembly]
2021-12-08T09:59:02.0996478Z *** Adding Mock assemblies [C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Test Assemblies\Mock Assemblies]
2021-12-08T09:59:02.1717528Z *** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\ServiceTier\program files\Microsoft Dynamics NAV\190\Service]
2021-12-08T09:59:02.1781871Z *** Searching CodeCop: CodeCop
2021-12-08T09:59:02.2082828Z *** Codecop found: C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll
2021-12-08T09:59:02.2399400Z *** Searching CodeCop: UICop
2021-12-08T09:59:02.2399708Z *** Codecop found: C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll
2021-12-08T09:59:02.2854893Z *** Searching CodeCop: AppSourceCop
2021-12-08T09:59:02.2855241Z *** Codecop found: C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll
2021-12-08T09:59:02.3120594Z *** Copy BC Artifact dependencies
2021-12-08T09:59:02.7061916Z *** Copy Project Artifact dependencies
2021-12-08T09:59:02.7067409Z *** Copy Build Artifacts
2021-12-08T09:59:02.7072116Z *** Final app.json:
2021-12-08T09:59:02.7090885Z {
2021-12-08T09:59:02.7091279Z     "id":  "498ca727-ae8b-49ba-9e28-d73e8d677173",
2021-12-08T09:59:02.7091616Z     "name":  "Document Sender",
2021-12-08T09:59:02.7091887Z     "publisher":  "VanRoey.be",
2021-12-08T09:59:02.7092077Z     "version":  "1.0.24078.0",
2021-12-08T09:59:02.7092331Z     "brief":  "Document Sender",
2021-12-08T09:59:02.7092569Z     "description":  "Document Sender",
2021-12-08T09:59:02.7092800Z     "privacyStatement":  "https://www.vanroey.be/voorwaarden/#tab4",
2021-12-08T09:59:02.7093047Z     "EULA":  "https://www.vanroey.be/voorwaarden/",
2021-12-08T09:59:02.7093270Z     "help":  "https://www.vanroey.be/support/",
2021-12-08T09:59:02.7093478Z     "url":  "https://www.vanroey.be/",
2021-12-08T09:59:02.7093690Z     "logo":  "Assets/VanRoey-logo-compact.png",
2021-12-08T09:59:02.7093881Z     "dependencies":  [
2021-12-08T09:59:02.7093964Z 
2021-12-08T09:59:02.7094109Z                      ],
2021-12-08T09:59:02.7094283Z     "internalsVisibleTo":  [
2021-12-08T09:59:02.7094471Z                                {
2021-12-08T09:59:02.7094709Z                                    "id":  "1b563a87-b10a-4e84-b60d-da516ef401e6",
2021-12-08T09:59:02.7094974Z                                    "publisher":  "VanRoey.be",
2021-12-08T09:59:02.7095416Z                                    "name":  "Document Sender-Test"
2021-12-08T09:59:02.7095630Z                                }
2021-12-08T09:59:02.7095811Z                            ],
2021-12-08T09:59:02.7095984Z     "screenshots":  [
2021-12-08T09:59:02.7096065Z 
2021-12-08T09:59:02.7096207Z                     ],
2021-12-08T09:59:02.7096381Z     "application":  "1.0.0.0",
2021-12-08T09:59:02.7096567Z     "platform":  "19.0.0.0",
2021-12-08T09:59:02.7096739Z     "idRanges":  [
2021-12-08T09:59:02.7096903Z                      {
2021-12-08T09:59:02.7097092Z                          "from":  2095517,
2021-12-08T09:59:02.7097302Z                          "to":  2095536
2021-12-08T09:59:02.7097488Z                      }
2021-12-08T09:59:02.7097649Z                  ],
2021-12-08T09:59:02.7097971Z     "contextSensitiveHelpUrl":  "https://www.vanroey.be/support/",
2021-12-08T09:59:02.7098191Z     "preprocessorSymbols":  [
2021-12-08T09:59:02.7098300Z 
2021-12-08T09:59:02.7098457Z                             ],
2021-12-08T09:59:02.7098629Z     "features":  [
2021-12-08T09:59:02.7098810Z                      "TranslationFile",
2021-12-08T09:59:02.7099000Z                      "NoImplicitWith"
2021-12-08T09:59:02.7099174Z                  ],
2021-12-08T09:59:02.7099342Z     "runtime":  "8.0",
2021-12-08T09:59:02.7099526Z     "resourceExposurePolicy":  {
2021-12-08T09:59:02.7099618Z 
2021-12-08T09:59:02.7099768Z                                }
2021-12-08T09:59:02.7099925Z }
2021-12-08T09:59:02.7099983Z 
2021-12-08T09:59:02.7103983Z *** Detect ALC.EXE Features.
2021-12-08T09:59:02.7107132Z ##[command]& C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\alc.exe /?
2021-12-08T09:59:02.8549966Z   * PARALLEL
2021-12-08T09:59:02.8553382Z   * MAXDEGREEOFPARALLELISM
2021-12-08T09:59:02.8558649Z   * ASSEMBLYPROBINGPATHS
2021-12-08T09:59:02.8563012Z *** Start ALC.EXE / Compile AL Extension
2021-12-08T09:59:02.8567292Z ##[command]& C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\alc.exe /packagecachepath:"C:\azure-vsts-agent-build\_work\175\s\App\.ALOPSCache" /project:"C:\azure-vsts-agent-build\_work\175\s\App" /out:"C:\azure-vsts-agent-build\_work\175\a\VanRoey.be_Document Sender_1.0.24078.0_sandbox_19.1_base.app" /fullpaths /analyzer:"C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll","C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll","C:\bcartifacts.cache\sandbox\19.1.31886.33497\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll" /ruleset:"appsource.default.ruleset.json" /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Windows\assembly","C:\Windows\Microsoft.NET\assembly","C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\Test Assemblies\Mock Assemblies","C:\bcartifacts.cache\sandbox\19.1.31886.33497\platform\ServiceTier\program files\Microsoft Dynamics NAV\190\Service"
2021-12-08T09:59:08.4372843Z *** AL Compiler Exit Code: 0
2021-12-08T09:59:08.4415036Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'C:\azure-vsts-agent-build\_work\175\a\VanRoey.be_Document Sender_1.0.24078.0_sandbox_19.1_base.app'
2021-12-08T09:59:08.4455571Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT_ARRAY) = 'C:\azure-vsts-agent-build\_work\175\a\VanRoey.be_Document Sender_1.0.24078.0_sandbox_19.1_base.app'
2021-12-08T09:59:08.4521468Z *** AL Compiler raw logs: Start
2021-12-08T09:59:08.4529430Z Microsoft (R) AL Compiler version 8.1.8.18944
2021-12-08T09:59:08.4534601Z Copyright (C) Microsoft Corporation. All rights reserved
2021-12-08T09:59:08.4539938Z Compilation started for project 'Document Sender' containing '20' files at '10:59:3.143'.
2021-12-08T09:59:08.4543313Z Compilation ended at '10:59:8.406'.
2021-12-08T09:59:08.4547950Z *** AL Compiler raw logs: End
2021-12-08T09:59:08.4551136Z *** Start processing compile results.
2021-12-08T09:59:08.5163199Z *** Uploading App as Build-Artifact
2021-12-08T09:59:08.5753621Z *** Publish XLIF as Artifact skipped
2021-12-08T09:59:08.5755354Z ModuleType Version Name              ExportedCommands                                                                  
2021-12-08T09:59:08.5755701Z ---------- ------- ----              ----------------                                                                  
2021-12-08T09:59:08.5756024Z Script     2.0.22  BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-BcContainerDatabases,...
2021-12-08T09:59:08.6039753Z 
2021-12-08T09:59:08.6039854Z 
2021-12-08T09:59:08.6057291Z ##[section]Async Command Start: Add Build Tag
2021-12-08T09:59:08.6057582Z Build '24078' has following tags now: AL.Analyzer.CodeCop
2021-12-08T09:59:08.6057767Z ##[section]Async Command End: Add Build Tag
2021-12-08T09:59:08.6058568Z ##[section]Async Command Start: Add Build Tag
2021-12-08T09:59:08.6058851Z Build '24078' has following tags now: AL.Analyzer.CodeCop, AL.Analyzer.UICop
2021-12-08T09:59:08.6059056Z ##[section]Async Command End: Add Build Tag
2021-12-08T09:59:08.6059617Z ##[section]Async Command Start: Add Build Tag
2021-12-08T09:59:08.6059913Z Build '24078' has following tags now: AL.Analyzer.CodeCop, AL.Analyzer.AppSourceCop, AL.Analyzer.UICop
2021-12-08T09:59:08.6060129Z ##[section]Async Command End: Add Build Tag
2021-12-08T09:59:08.6060681Z ##[section]Async Command Start: Upload Artifact
2021-12-08T09:59:08.6060829Z Uploading 1 files
2021-12-08T09:59:09.0980017Z File upload succeed.
2021-12-08T09:59:09.0980421Z Upload 'C:\azure-vsts-agent-build\_work\175\a\VanRoey.be_Document Sender_1.0.24078.0_sandbox_19.1_base.app' to file container: '#/27360562/Document Sender'
2021-12-08T09:59:09.1000273Z Associated artifact 4615 with build 24078
2021-12-08T09:59:09.1000554Z ##[section]Async Command End: Upload Artifact
2021-12-08T09:59:09.1001632Z ##[section]Async Command Start: Update Build Number
2021-12-08T09:59:09.1001949Z Update build number to 1.0.24078.0 for build 24078
2021-12-08T09:59:09.1002175Z ##[section]Async Command End: Update Build Number
2021-12-08T09:59:09.1003171Z ##[section]Finishing: Compile Extension

Expected behavior Creation of resourceExposurePolicy when the runtime in the app.json is set to 8.0 or higher with the selected settings.

"resourceExposurePolicy": {
    "allowDebugging": true, 
    "allowDownloadingSource": false, 
    "includeSourceInSymbolFile": false
}
waldo1001 commented 2 years ago

We'll look if we can parse "true" and "false" as well, but the options we use are: image Intellisense for the win ;-).

Arthurvdv commented 2 years ago

Oops! I'm indeed using the wrong settings, thanks for the help!

To be honest you don't have to parse the "true" and "false" for me, but could indeed help lowering support questions ;-)