HodorNV / ALOps

ALOps
59 stars 24 forks source link

ALOpsAppCompiler@2 version artifact vs marketplace #323

Closed Arthurvdv closed 3 years ago

Arthurvdv commented 3 years ago

Describe the bug The version of AL Language in the artifact is lower then the version of AL Language from the Market place. I'm using the property 'Multiplicity = ZeroOrOne' on different API pages and found myself between between a rock and a hard place.

At this (23/02) moment the AL Langue (VSIX) on the marketplace is updated, where the artifact (of Belgium) is behind; Marketplace: v6.5.413786 Artifact (BE): v6.4.403123

This is annoying, because now the newer v6.5 tells me I need to increase the runtime version, otherwise it won't compile in VS Code. But the pipeline refuses to run, because the newer version is not yet supported.

AL Compiler v6.5: 'Multiplicity' is not available in runtime version '6.1'. The supported runtime versions are: '6.3' or greater. AL Compiler v6.4: 'The runtime version '6.3' is not supported by the AL compiler.'

the used yaml

parameters:
  artifactversion: ''
  artifacttype: 'Sandbox'
  artifactcountry: 'BE'
  versionselect: ''
  appversiontemplate: '1.0.[yyyyWW].*'

steps:
- task: ALOpsAppCompiler@2
  displayName: 'Generate Base Translation File (g.xlf)'
  condition: and(succeeded(), eq(variables['bc-generate-translations'], true))
  inputs:
    artifactversion: '${{ parameters.artifactversion }}'
    artifacttype: '${{ parameters.artifacttype }}'
    artifactcountry: '${{ parameters.artifactcountry }}'
    versionselect: ${{ parameters.versionselect }}
    alsourcepath: '$(System.DefaultWorkingDirectory)\app'
    appversiontemplate: '${{ parameters.appversiontemplate }}'
    alcodeanalyzer: 'None'
    failonwarnings: false
    publishartifact: false

the output

2021-02-23T16:00:56.8992567Z ##[section]Starting: Generate Base Translation File (g.xlf)
2021-02-23T16:00:56.9127836Z ==============================================================================
2021-02-23T16:00:56.9128219Z Task         : ALOps App Compiler
2021-02-23T16:00:56.9128535Z Description  : Compile AL Extension(s) for Business Central
2021-02-23T16:00:56.9128819Z Version      : 2.0.2167
2021-02-23T16:00:56.9129045Z Author       : Hodor
2021-02-23T16:00:56.9129342Z Help         : Compile Business Central extension(s) from AL code.
2021-02-23T16:00:56.9129731Z ==============================================================================
2021-02-23T16:00:57.8759744Z ******************************************************************************
2021-02-23T16:00:57.8767302Z *** ALOps v2 - Preview                                                     ***
2021-02-23T16:00:57.8772736Z ******************************************************************************
2021-02-23T16:00:57.8779925Z *** Importing required ALOps-Functions
2021-02-23T16:00:58.2737780Z *** Task Inputs:
2021-02-23T16:00:58.2780685Z 
2021-02-23T16:00:58.2869818Z name                value                                                                           
2021-02-23T16:00:58.2871155Z ----                -----                                                                           
2021-02-23T16:00:58.2871774Z artifactversion                                                                                     
2021-02-23T16:00:58.2872637Z artifacttype        Sandbox                                                                         
2021-02-23T16:00:58.2873534Z artifactcountry     BE                                                                              
2021-02-23T16:00:58.2874556Z versionselect                                                                                       
2021-02-23T16:00:58.2875242Z alternativevsixurl                                                                                  
2021-02-23T16:00:58.2876366Z alsourcepath        D:\azure-vsts-agent-build\_work\2\s\app                                         
2021-02-23T16:00:58.2876943Z ruleset                                                                                             
2021-02-23T16:00:58.2877783Z appversiontemplate  ?.?.[yyyWW].*                                                                   
2021-02-23T16:00:58.2878343Z appfilenametemplate %APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC_COUNTRY%.app
2021-02-23T16:00:58.2879513Z alcodeanalyzer      None                                                                            
2021-02-23T16:00:58.2880173Z showmycode          Keep                                                                            
2021-02-23T16:00:58.2880934Z alcachepath         D:\azure-vsts-agent-build\_work\2\s                                             
2021-02-23T16:00:58.2881589Z publishartifact     False                                                                           
2021-02-23T16:00:58.2882238Z publishxlif         False                                                                           
2021-02-23T16:00:58.2882873Z failonwarnings      False                                                                           
2021-02-23T16:00:58.2883615Z storageaccount                                                                                      
2021-02-23T16:00:58.2884413Z sastoken                                                                                            
2021-02-23T16:00:58.2884873Z 
2021-02-23T16:00:58.2904322Z 
2021-02-23T16:00:58.2910806Z 
2021-02-23T16:00:58.3049154Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-02-23T16:00:58.3051598Z 
2021-02-23T16:00:58.7021012Z *** ALOps License:
2021-02-23T16:00:58.7023714Z   * Licensed To: Van Roey (Collection License)
2021-02-23T16:00:58.7506492Z 
2021-02-23T16:00:58.8264172Z *** Importing required Task-Functions
2021-02-23T16:01:00.4337082Z 
2021-02-23T16:01:00.5067785Z *** Artifact Type   : [Sandbox]
2021-02-23T16:01:00.5073762Z *** Artifact Version: []
2021-02-23T16:01:00.5080171Z *** Artifact Country: [BE]
2021-02-23T16:01:00.5085508Z *** AL Source Path  : [D:\azure-vsts-agent-build\_work\2\s\app]
2021-02-23T16:01:00.5091094Z *** AL Cache Path   : [D:\azure-vsts-agent-build\_work\2\s]
2021-02-23T16:01:00.5093161Z 
2021-02-23T16:01:00.5110586Z 
2021-02-23T16:01:00.5277928Z *** Default Working Folder: D:\azure-vsts-agent-build\_work\2\s
2021-02-23T16:01:00.5285221Z *** Artifact Folder       : D:\azure-vsts-agent-build\_work\2\a
2021-02-23T16:01:00.5291383Z *** Agent Tool Folder     : D:\azure-vsts-agent-build\_work\_tool
2021-02-23T16:01:00.5297725Z *** Agent Temp Folder     : D:\azure-vsts-agent-build\_work\_temp
2021-02-23T16:01:00.5299897Z 
2021-02-23T16:01:00.5336167Z *** Resolving Path: [D:\azure-vsts-agent-build\_work\2\s\app]
2021-02-23T16:01:00.5378157Z *** AL Source Folder      : D:\azure-vsts-agent-build\_work\2\s\app
2021-02-23T16:01:00.5385284Z *** Resolving Path: [D:\azure-vsts-agent-build\_work\2\s]
2021-02-23T16:01:00.5395855Z *** AL Cache Folder       : D:\azure-vsts-agent-build\_work\2\s
2021-02-23T16:01:00.5397879Z 
2021-02-23T16:01:00.5412812Z *** Check BcContainerHelper
2021-02-23T16:01:00.5773335Z *** Load BcContainerHelper
2021-02-23T16:01:00.7314439Z BcContainerHelper version 2.0.5
2021-02-23T16:01:01.3918613Z 
2021-02-23T16:01:01.3966787Z 
2021-02-23T16:01:01.3979127Z ##[command]"Get-BCArtifactUrl" 
2021-02-23T16:01:01.3980386Z Name                           Value                                                                                   
2021-02-23T16:01:01.3981252Z ----                           -----                                                                                   
2021-02-23T16:01:01.3982030Z country                        BE                                                                                      
2021-02-23T16:01:01.3982820Z type                           Sandbox                                                                                 
2021-02-23T16:01:01.3983267Z 
2021-02-23T16:01:01.3983508Z 
2021-02-23T16:01:01.4033438Z  -country: BE -type: Sandbox
2021-02-23T16:01:14.5810519Z *** Platform: c:\bcartifacts.cache\sandbox\17.4.21491.22411\platform
2021-02-23T16:01:14.5833371Z *** Localisation: c:\bcartifacts.cache\sandbox\17.4.21491.22411\be
2021-02-23T16:01:14.5941202Z *** BC Management DLL: C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\LegacyDlls\program files\Microsoft Dynamics NAV\170\RoleTailored Client\Microsoft.Dynamics.Nav.Management.dll
2021-02-23T16:01:14.6178808Z *** BC App Management DLL: C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\LegacyDlls\program files\Microsoft Dynamics NAV\170\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Management.dll
2021-02-23T16:01:14.6330774Z *** Get [*.app] and [app.json] files recursive from [D:\azure-vsts-agent-build\_work\2\s\app]
2021-02-23T16:01:14.6520869Z *** Found [1] file.
2021-02-23T16:01:14.6528723Z *** Extract App detail from [D:\azure-vsts-agent-build\_work\2\s\app\app.json]
2021-02-23T16:01:14.6740379Z *** Starting Batch compile of Apps:
2021-02-23T16:01:14.6769191Z   * D:\azure-vsts-agent-build\_work\2\s\app
2021-02-23T16:01:14.6791230Z *** Start Compiling: [D:\azure-vsts-agent-build\_work\2\s\app]
2021-02-23T16:01:14.7264692Z *** Get App Information
2021-02-23T16:01:14.7291658Z *** Loading Json Object: [D:\azure-vsts-agent-build\_work\2\s\app\app.json]
2021-02-23T16:01:14.7308722Z   * Id         : <redacted>
2021-02-23T16:01:14.7314638Z   * Publisher  : VanRoey.be
2021-02-23T16:01:14.7320052Z   * Name       : <redacted>
2021-02-23T16:01:14.7325637Z   * Description: 
2021-02-23T16:01:14.7441708Z *** Match: yyyWW
2021-02-23T16:01:14.7521776Z *** Retaining original [Major] from version (?.0.0.0)
2021-02-23T16:01:14.7549722Z *** Retaining original [Minor] from version (0.?.0.0)
2021-02-23T16:01:14.7566170Z *** Setting Managed App Version [D:\azure-vsts-agent-build\_work\2\s\app\app.json] =>  1.0.202108.6455
2021-02-23T16:01:14.7648206Z *** VSCode Settings: [D:\azure-vsts-agent-build\_work\2\s\app\.vscode\settings.json]
2021-02-23T16:01:14.7657630Z *** VSCode-Settings json found.
2021-02-23T16:01:14.7665025Z *** Loading Json Object: [D:\azure-vsts-agent-build\_work\2\s\app\.vscode\settings.json]
2021-02-23T16:01:14.7688006Z *** CodeAnalyzers DISABLED.
2021-02-23T16:01:14.7729517Z *** Using Ruleset: [D:\azure-vsts-agent-build\_work\2\s\app\.vscode\custom.ruleset.json]
2021-02-23T16:01:14.7776624Z ##[command]"Get-BCArtifactUrl" 
2021-02-23T16:01:14.7777155Z Name                           Value                                                                                   
2021-02-23T16:01:14.7778115Z ----                           -----                                                                                   
2021-02-23T16:01:14.7778822Z select                         Latest                                                                                  
2021-02-23T16:01:14.7779541Z type                           Sandbox                                                                                 
2021-02-23T16:01:14.7780227Z country                        be                                                                                      
2021-02-23T16:01:14.7780606Z 
2021-02-23T16:01:14.7780805Z 
2021-02-23T16:01:14.7780993Z 
2021-02-23T16:01:27.6413912Z *** Platform: c:\bcartifacts.cache\sandbox\17.4.21491.22411\platform
2021-02-23T16:01:27.6427039Z *** Localisation: c:\bcartifacts.cache\sandbox\17.4.21491.22411\be
2021-02-23T16:01:27.6673895Z *** VSIX Path: C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\ModernDev\program files\Microsoft Dynamics NAV\170\AL Development Environment\ALLanguage.vsix
2021-02-23T16:01:27.6713262Z *** ALC Path: C:\bcartifacts.cache\sandbox\17.4.21491.22411\VSIX\extension\bin\alc.exe
2021-02-23T16:01:27.6732723Z *** Nav.CodeAnalysis Path: C:\bcartifacts.cache\sandbox\17.4.21491.22411\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
2021-02-23T16:01:27.7468079Z *** Get Localised Apps [102]
2021-02-23T16:01:28.2328313Z *** Get Platform Apps [97]
2021-02-23T16:01:28.2337498Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\APIV1\Source\Microsoft__Exclude_APIV1_.app
2021-02-23T16:01:28.2429563Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\APIV1\Test\Microsoft__Exclude_APIV1_ Tests.app
2021-02-23T16:01:28.2459140Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\APIV2\Source\Microsoft__Exclude_APIV2_.app
2021-02-23T16:01:28.2493876Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\APIV2\Test\Microsoft__Exclude_APIV2_ Tests.app
2021-02-23T16:01:28.2522355Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Application\Source\Microsoft_Application.app
2021-02-23T16:01:28.2549281Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Base Application.app
2021-02-23T16:01:28.3534298Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Czech language (Czechia).app
2021-02-23T16:01:28.3559079Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Danish language (Denmark).app
2021-02-23T16:01:28.3582560Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Belgium).app
2021-02-23T16:01:28.3605734Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Netherlands).app
2021-02-23T16:01:28.3628854Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_English language (Australia).app
2021-02-23T16:01:28.3651635Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_English language (Canada).app
2021-02-23T16:01:28.3674414Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_English language (New Zealand).app
2021-02-23T16:01:28.3697574Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_English language (United Kingdom).app
2021-02-23T16:01:28.3720829Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_English language (United States).app
2021-02-23T16:01:28.3743871Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Finnish language (Finland).app
2021-02-23T16:01:28.3771490Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_French language (Belgium).app
2021-02-23T16:01:28.3804120Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_French language (Canada).app
2021-02-23T16:01:28.3830194Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_French language (France).app
2021-02-23T16:01:28.3858670Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_French language (Switzerland).app
2021-02-23T16:01:28.3885168Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_German language (Austria).app
2021-02-23T16:01:28.3912357Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_German language (Germany).app
2021-02-23T16:01:28.3938268Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_German language (Switzerland).app
2021-02-23T16:01:28.3964545Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Icelandic language (Iceland).app
2021-02-23T16:01:28.3989504Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Italian language (Italy).app
2021-02-23T16:01:28.4016351Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Italian language (Switzerland).app
2021-02-23T16:01:28.4041450Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Norwegian language (Norway).app
2021-02-23T16:01:28.4066981Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Russian language (Russia).app
2021-02-23T16:01:28.4093683Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Mexico).app
2021-02-23T16:01:28.4116397Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Spain).app
2021-02-23T16:01:28.4138290Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Source\Microsoft_Swedish language (Sweden).app
2021-02-23T16:01:28.4162470Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Library-NoTransactions.app
2021-02-23T16:01:28.4185254Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Bank.app
2021-02-23T16:01:28.4210073Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Cash Flow.app
2021-02-23T16:01:28.4234262Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Cost Accounting.app
2021-02-23T16:01:28.4259390Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-CRM integration.app
2021-02-23T16:01:28.4285989Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Data Exchange.app
2021-02-23T16:01:28.4312775Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Dimension.app
2021-02-23T16:01:28.4337979Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-ERM.app
2021-02-23T16:01:28.4398282Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Fixed Asset.app
2021-02-23T16:01:28.4421580Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-General Journal.app
2021-02-23T16:01:28.4447773Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Graph.app
2021-02-23T16:01:28.4477748Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Integration.app
2021-02-23T16:01:28.4504548Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Invoicing.app
2021-02-23T16:01:28.4530780Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Job.app
2021-02-23T16:01:28.4556421Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Local.app
2021-02-23T16:01:28.4580604Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Marketing.app
2021-02-23T16:01:28.4606496Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Misc.app
2021-02-23T16:01:28.4650734Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Monitor Sensitive Fields.app
2021-02-23T16:01:28.4673432Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Permissions.app
2021-02-23T16:01:28.4697636Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Physical Inventory.app
2021-02-23T16:01:28.4721895Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Prepayment.app
2021-02-23T16:01:28.4747308Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Rapid Start.app
2021-02-23T16:01:28.4771430Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Report.app
2021-02-23T16:01:28.4799885Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Resource.app
2021-02-23T16:01:28.4828652Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Reverse.app
2021-02-23T16:01:28.4855248Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-SCM.app
2021-02-23T16:01:28.4908146Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-SINGLESERVER.app
2021-02-23T16:01:28.4934635Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-SMB.app
2021-02-23T16:01:28.4965489Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-SMTP.app
2021-02-23T16:01:28.4989287Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2021-02-23T16:01:28.5041431Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Upgrade.app
2021-02-23T16:01:28.5068085Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-User.app
2021-02-23T16:01:28.5094108Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-VAT.app
2021-02-23T16:01:28.5125265Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\BaseApp\Test\Microsoft_Tests-Workflow.app
2021-02-23T16:01:28.5157811Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\ClientAddIns\Source\Microsoft__Exclude_ClientAddIns_.app
2021-02-23T16:01:28.5182636Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\CompanyHub\Source\Microsoft_Company Hub.app
2021-02-23T16:01:28.5217782Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - Current User Connector\Source\Microsoft_Email - Current User Connector.app
2021-02-23T16:01:28.5248628Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - Current User Connector\Test\Microsoft_Email - Current User Connector Tests.app
2021-02-23T16:01:28.5278442Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - Microsoft 365 Connector\Source\Microsoft_Email - Microsoft 365 Connector.app
2021-02-23T16:01:28.5308675Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - Microsoft 365 Connector\Test\Microsoft_Email - Microsoft 365 Connector Tests.app
2021-02-23T16:01:28.6203403Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - Outlook REST API\Source\Microsoft_Email - Outlook REST API.app
2021-02-23T16:01:28.6234470Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - Outlook REST API\Test\Microsoft_Library Outlook REST API.app
2021-02-23T16:01:28.6259862Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - SMTP Connector\Source\Microsoft_Email - SMTP Connector.app
2021-02-23T16:01:28.6286665Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\Email - SMTP Connector\Test\Microsoft_Email - SMTP Connector Tests.app
2021-02-23T16:01:28.6308768Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\EssentialBusinessHeadlines\Source\Microsoft_Essential Business Headlines.app
2021-02-23T16:01:28.6339546Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\EssentialBusinessHeadlines\Test\Microsoft_Essential Business Headlines Test.app
2021-02-23T16:01:28.6363421Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\LatePaymentPredictor\Source\Microsoft_Late Payment Prediction.app
2021-02-23T16:01:28.6391300Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\LatePaymentPredictor\Test\Microsoft_Late Payment Prediction Tests.app
2021-02-23T16:01:28.6413801Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\paypalpaymentsstandard\source\Microsoft_PayPal Payments Standard.app
2021-02-23T16:01:28.6443481Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\paypalpaymentsstandard\test\Microsoft_PayPal Payments Standard Tests.app
2021-02-23T16:01:28.6465883Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\salesandinventoryforecast\source\Microsoft_Sales and Inventory Forecast.app
2021-02-23T16:01:28.6496464Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\salesandinventoryforecast\test\Microsoft_Sales and Inventory Forecast Tests.app
2021-02-23T16:01:28.6520765Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\sendtoemailprinter\source\Microsoft_Send To Email Printer.app
2021-02-23T16:01:28.6546088Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\system application\source\Microsoft_System Application.app
2021-02-23T16:01:28.6624041Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\system application\test\Microsoft_System Application Test Library.app
2021-02-23T16:01:28.6647998Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\system application\test\Microsoft_System Application Test.app
2021-02-23T16:01:28.6682667Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Samples.app
2021-02-23T16:01:28.6706067Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit.app
2021-02-23T16:01:28.6730726Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\testframework\TestLibraries\Any\Microsoft_Any.app
2021-02-23T16:01:28.6751961Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\testframework\TestLibraries\Assert\Microsoft_Library Assert.app
2021-02-23T16:01:28.6773777Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\testframework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app
2021-02-23T16:01:28.6795745Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\testframework\TestRunner\Microsoft_Test Runner.app
2021-02-23T16:01:28.6819838Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\uksendremittanceadvice\source\Microsoft_Send remittance advice by email.app
2021-02-23T16:01:28.6845912Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\vatgroupmanagement\source\Microsoft_VAT Group Management.app
2021-02-23T16:01:28.6874806Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Applications\vatgroupmanagement\test\Microsoft_VAT Group Management Tests.app
2021-02-23T16:01:28.6898989Z   * C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\ModernDev\program files\Microsoft Dynamics NAV\170\AL Development Environment\System.app
2021-02-23T16:01:28.6940956Z *** Retained Platform Apps [15]
2021-02-23T16:01:28.6949930Z *** Loaded [117] Apps
2021-02-23T16:01:28.6973627Z *** Get Build Apps [0]
2021-02-23T16:01:28.6979761Z *** AL Cache: [D:\azure-vsts-agent-build\_work\2\s]
2021-02-23T16:01:28.7042029Z *** Loaded [0] AL Apps
2021-02-23T16:01:28.7094625Z *** AL Language Version: 6.4.403123
2021-02-23T16:01:28.7118258Z *** App To Build: [D:\azure-vsts-agent-build\_work\2\a\VanRoey.be_<redacted>_1.0.202108.6455_sandbox_17.4_be.app]
2021-02-23T16:01:28.7124920Z *** Checking for Assemblies in App
2021-02-23T16:01:28.7192970Z *** Add Windows Assembly Path [C:\Windows\assembly]
2021-02-23T16:01:28.7753793Z *** Adding Mock assemblies [C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Test Assemblies\Mock Assemblies]
2021-02-23T16:01:28.8527805Z *** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\LegacyDlls\program files\Microsoft Dynamics NAV\170\RoleTailored Client\Add-ins]
2021-02-23T16:01:28.8533340Z *** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\ServiceTier\program files\Microsoft Dynamics NAV\170\Service\Add-ins]
2021-02-23T16:01:28.8565177Z *** No Code-Cop-Analyzer defined.
2021-02-23T16:01:28.8598859Z *** Copy BC Artifact dependencies
2021-02-23T16:01:29.3690454Z *** Copy Project Artifact dependencies
2021-02-23T16:01:29.3696016Z *** Copy Build Artifacts
2021-02-23T16:01:29.3710545Z *** Detect ALC.EXE Features.
2021-02-23T16:01:29.3716972Z ##[command]& C:\bcartifacts.cache\sandbox\17.4.21491.22411\VSIX\extension\bin\alc.exe /?
2021-02-23T16:01:29.5264207Z   * PARALLEL
2021-02-23T16:01:29.5270199Z   * MAXDEGREEOFPARALLELISM
2021-02-23T16:01:29.5279331Z   * ASSEMBLYPROBINGPATHS
2021-02-23T16:01:29.5286418Z *** Start ALC.EXE / Compile AL Extension
2021-02-23T16:01:29.5304696Z ##[command]& C:\bcartifacts.cache\sandbox\17.4.21491.22411\VSIX\extension\bin\alc.exe /packagecachepath:"D:\azure-vsts-agent-build\_work\2\s\app\.ALOPSCache" /project:"D:\azure-vsts-agent-build\_work\2\s\app" /out:"D:\azure-vsts-agent-build\_work\2\a\VanRoey.be_<redacted>_1.0.202108.6455_sandbox_17.4_be.app" /fullpaths /ruleset:"D:\azure-vsts-agent-build\_work\2\s\app\.vscode\custom.ruleset.json" /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Windows\assembly","C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\Test Assemblies\Mock Assemblies","C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\LegacyDlls\program files\Microsoft Dynamics NAV\170\RoleTailored Client\Add-ins","C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\ServiceTier\program files\Microsoft Dynamics NAV\170\Service\Add-ins"
2021-02-23T16:01:29.9346971Z *** AL Compiler Exit Code: 1
2021-02-23T16:01:29.9399832Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'D:\azure-vsts-agent-build\_work\2\a\VanRoey.be_<redacted>_1.0.202108.6455_sandbox_17.4_be.app'
2021-02-23T16:01:29.9454665Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT_ARRAY) = 'D:\azure-vsts-agent-build\_work\2\a\VanRoey.be_<redacted>_1.0.202108.6455_sandbox_17.4_be.app'
2021-02-23T16:01:29.9498208Z *** Start processing compile results.
2021-02-23T16:01:29.9746578Z ##[error]\app\app.json(45,5): error AL1043: The runtime version '6.3' is not supported by the AL compiler.
2021-02-23T16:01:29.9755013Z ModuleType Version Name              ExportedCommands                                                                  
2021-02-23T16:01:29.9755692Z ---------- ------- ----              ----------------                                                                  
2021-02-23T16:01:29.9756295Z Script     2.0.5   BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-BcContainerDatabases,...
2021-02-23T16:01:29.9756593Z 
2021-02-23T16:01:29.9756692Z 
2021-02-23T16:01:29.9756797Z 
2021-02-23T16:01:29.9768356Z AlertCode Line RelativePath  File     AlertSource AlertMessage                                                   Char A
2021-02-23T16:01:29.9768980Z                                                                                                                       l
2021-02-23T16:01:29.9769572Z                                                                                                                       e
2021-02-23T16:01:29.9770175Z                                                                                                                       r
2021-02-23T16:01:29.9770803Z                                                                                                                       t
2021-02-23T16:01:29.9771533Z                                                                                                                       L
2021-02-23T16:01:29.9772251Z                                                                                                                       e
2021-02-23T16:01:29.9772848Z                                                                                                                       v
2021-02-23T16:01:29.9773538Z                                                                                                                       e
2021-02-23T16:01:29.9774123Z                                                                                                                       l
2021-02-23T16:01:29.9778711Z --------- ---- ------------  ----     ----------- ------------                                                   ---- -
2021-02-23T16:01:29.9782049Z AL1043    45   \app\app.json app.json AL Compiler The runtime version '6.3' is not supported by the AL compiler. 5    e
2021-02-23T16:01:29.9782492Z 
2021-02-23T16:01:29.9782744Z 
2021-02-23T16:01:29.9830697Z *** Set Pipeline variable $(ALOPS_COMPILE_LOG) = 'D:\azure-vsts-agent-build\_work\2\s\VanRoey.be_<redacted>_1.0.202108.6455_sandbox_17.4_be.log'
2021-02-23T16:01:29.9857007Z *** App not Created: [D:\azure-vsts-agent-build\_work\2\a\VanRoey.be_<redacted>_1.0.202108.6455_sandbox_17.4_be.app]
2021-02-23T16:01:30.0279588Z *** Skip Uploading App as Build-Artifact
2021-02-23T16:01:30.0285052Z *** Publish XLIF as Artifact skipped
2021-02-23T16:01:30.0820860Z ##[section]Finishing: Generate Base Translation File (g.xlf)

Expected behavior Is there somehow a solution to this? I know that creating the artifacts is not the responsibility of ALOps, but maybe you have a clever idea to get around this somehow?

Screenshots image Marketplace

image C:\bcartifacts.cache\sandbox\17.4.21491.22411\platform\ModernDev\program files\Microsoft Dynamics NAV\170\AL Development Environment\ALLanguage.vsix Grabbed the file from the artifact and installed in VS Code to test.

waldo1001 commented 3 years ago

Hi,

You could mitigate it with the parameter alternativevsixurl (possibilities are a localpath, a url (preferred), or a version for downloading it from the marketplace).

- task: ALOpsAppCompiler@2
  inputs:
    artifacttype: 'Sandbox'
    appversiontemplate: '1.0.*.0'
    publishartifact: false
    alternativevsixurl: '6.5.413786' # possibilities are a localpath, a url (preferred), or a version for downloading it from the marketplace
waldo1001 commented 3 years ago

By the way - there is no way (we see) to get the url for the "current latest" version ...

Arthurvdv commented 3 years ago

It would inderdaad really help if there would be somehow a possibility to get the url for the "current latest" version.

For now I reverted my code back and leave it as a TODO to refactor when the newer version has arrived in the artifacts.