Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_AI Test Toolkit_29.0.48565.0.app]:
The following exception occurred while retrieving member "ReadNavAppManifest":
"Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Could not find or load a specific file. (0x80131621)"
##[section]Starting: Compile MainApp
==============================================================================
Task : ALOps App Compiler
Description : Compile AL Extension(s) for Business Central
Version : 2.476.10786
Author : Hodor
Help : Compile Business Central extension(s) from AL code.
==============================================================================
*** Using Powershell 7
******************************************************************************
*** ALOps v2 ***
******************************************************************************
*** Importing required ALOps-Functions
*** Task Inputs:
�[32;1mname �[0m�[32;1m value�[0m
�[32;1m---- �[0m �[32;1m-----�[0m
artifactversion
artifacttype Sandbox
artifactcountry de
versionselect NextMajor
updateruntime
alternativeartifacturl https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/29.0.48565…
alternativevsixurl
vsix_cache_hours 0
alsourcepath C:\agent\_work\2577\s\MainApp
ruleset
suppresswarnings KEEP
appversiontemplate ?.?.*.0
updatebuildnumber True
appfilenametemplate %APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC_C…
alcodeanalyzer NONE
ignorepragmas
enable_external_rulesets False
showmycode Keep
resourceexposurepolicy_allowdebugging Keep
resourceexposurepolicy_allowdownloadingsource Keep
resourceexposurepolicy_includesourceinsymbolfile Keep
internalsvisibleto Keep
preprocessorsymbols
generatereportlayouts False
applicationinsightskey
alcachepath C:\agent\_work\2577\s
publishartifact False
publishxlif False
failonwarnings False
failonany False
storageaccount
sastoken
printappmanifest True
outputalclogs True
additionalprobingpaths
allowed_publisher_names
allowed_publisher_names_separator ,
accept_insider_eula True
track_source_build_metadata True
alc_continuebuildonerror False
alc_errorlog False
pwsh True
True
*** For documentation, please visit : https://www.alops.be/documentation
*** Importing required Task-Functions
*** Artifact Type : [Sandbox]
*** Artifact Version: []
*** Artifact Country: [de]
*** AL Source Path : [C:\agent\_work\2577\s\MainApp]
*** AL Cache Path : [C:\agent\_work\2577\s]
*** Default Working Folder: C:\agent\_work\2577\s
*** Artifact Folder : C:\agent\_work\2577\a
*** Agent Tool Folder : C:\agent\_work\_tool
*** Agent Temp Folder : C:\agent\_work\_temp
*** Agent Tools Folder : C:\agent\_work\_tool
*** Resolving Path: [C:\agent\_work\2577\s\MainApp]
*** AL Source Folder : C:\agent\_work\2577\s\MainApp
*** Resolving Path: [C:\agent\_work\2577\s]
*** AL Cache Folder : C:\agent\_work\2577\s
*** Check BcContainerHelper
*** Load BcContainerHelper
BcContainerHelper version 6.1.11
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 7.4.14
*** Use BC-Artifact-Url from Cache: [https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/29.0.48565.0/de]
*** Platform: c:\bcartifacts.cache\sandbox\29.0.48565.0\platform
*** Localisation: c:\bcartifacts.cache\sandbox\29.0.48565.0\de
*** VSIX Path: C:\bcartifacts.cache\sandbox\29.0.48565.0\platform\ModernDev\PFiles\Microsoft Dynamics NAV\290\AL Development Environment\ALLanguage.vsix
*** ALC Path: C:\bcartifacts.cache\sandbox\29.0.48565.0\VSIX\extension\bin\win32\alc.exe
*** ALTool Path: C:\bcartifacts.cache\sandbox\29.0.48565.0\VSIX\extension\bin\win32\altool.exe
*** Get [*.app] and [app.json] files recursive from [C:\agent\_work\2577\s\MainApp]
*** Found [1] file.
*** Using ALTool
*** Extract App detail from [C:\agent\_work\2577\s\MainApp\app.json]
*** Starting compile of App: [C:\agent\_work\2577\s\MainApp\app.json]
*** Start Compiling: [C:\agent\_work\2577\s\MainApp]
*** Get App Information [C:\agent\_work\2577\s\MainApp]
*** Loading Json Object: [C:\agent\_work\2577\s\MainApp\app.json]
* Id : df1897e4-a03d-4755-9118-7d287d8c1365
* Publisher : Some Company
* Name : XXX-BaseApp
* Description: XXX-BaseApp
* Version : 2.0.0.0
*** Check Runtime: [16.0]
*** Runtime: 16
*** Retaining original [Major] from version (?.0.0.0)
*** Retaining original [Minor] from version (0.?.0.0)
*** Validate Version: 2.0.107108.0
*** Setting Managed App Version [C:\agent\_work\2577\s\MainApp\app.json] => 2.0.107108.0
*** VSCode Settings: [C:\agent\_work\2577\s\MainApp\.vscode\settings.json]
*** VSCode-Settings json found.
*** Loading Json Object: [C:\agent\_work\2577\s\MainApp\.vscode\settings.json]
*** CodeAnalyzers DISABLED.
*** Defined Ruleset: C:\agent\_work\2577\s\MainApp\.vscode\rulesets\ruleset.json
*** Using Ruleset: [C:\agent\_work\2577\s\MainApp\.vscode\rulesets\ruleset.json]
*** Nav.CodeAnalysis Path: C:\bcartifacts.cache\sandbox\29.0.48565.0\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeAnalysis.dll
*** Loading CodeAnalysis Assembly
*** Get Apps from Artifacts: c:\bcartifacts.cache\sandbox\29.0.48565.0\de
*** Get Localised Apps [195]
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_AI Test Toolkit_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_AI Test Toolkit_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Any_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Any_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Application Test Library_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Application Test Library_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Application_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Application_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Base Application_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Base Application_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_BuildTools_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_BuildTools_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Business Foundation Test Libraries_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Business Foundation Test Libraries_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Business Foundation_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Business Foundation_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_DemoTool_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_DemoTool_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Library Assert_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Library Assert_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Library Variable Storage_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Library Variable Storage_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Performance Toolkit Samples_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Performance Toolkit Samples_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Performance Toolkit_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Performance Toolkit_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Permissions Mock_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_Permissions Mock_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_System Application Test Library_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_System Application Test Library_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
* C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_System Application_29.0.48565.0.app
##[warning]Failed to read manifest for [C:\bcartifacts.cache\sandbox\29.0.48565.0\de\Applications.DE\Microsoft_System Application_29.0.48565.0.app]: The following exception occurred while retrieving member "ReadNavAppManifest": "Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)"
[..]
*** Retained Platform Apps [0]
*** Loaded [195] Apps
*** Get Build Apps [19]
*** AL Cache: [C:\agent\_work\2577\s]
*** Loaded [0] AL Apps
*** VSIX Extension Config: [c:\bcartifacts.cache\sandbox\29.0.48565.0\VSIX\extension\package.json]
*** AL Language Version: 18.0.2271299
*** App To Build: [C:\agent\_work\2577\a\Some Company_XXX-BaseApp_2.0.107108.0_sandbox_29.0_de.app]
*** Checking for Assemblies in App
*** Add Windows Assembly Path [C:\Windows\assembly]
*** Adding Mock assemblies [C:\bcartifacts.cache\sandbox\29.0.48565.0\platform\Test Assemblies\Mock Assemblies]
*** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\29.0.48565.0\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\290\Service]
*** No Code-Cop-Analyzer defined.
*** Copy BC Artifact dependencies
*** Copy Project Artifact dependencies
*** Copy Build Artifacts
*** Final app.json:
{
"id": "df1897e4-a03d-4755-9118-7d287d8c1365",
"name": "XXX-BaseApp",
"publisher": "Some Company",
"version": "2.0.107108.0",
"brief": "XXX-BaseApp",
"description": "XXX-BaseApp",
"logo": "./res/Logo.jpg",
"dependencies": [
{
"id": "8223b762-6c78-4c8b-b8b6-da04d300966c",
"name": "XXX-BaseApp",
"publisher": "Some Company",
"version": "24.0.0.0"
},
{
"id": "3e491d72-f6bd-4af3-840b-44d18a3a36b6",
"name": "PI Projects",
"publisher": "Some Company",
"version": "1.11.0.0"
},
{
"id": "4b915d7e-c02a-435f-85ab-649086c1e002",
"name": "Continia Core",
"publisher": "Continia Software",
"version": "25.0.0.0"
},
{
"id": "88cf5d4c-8afc-4a98-9cb7-212196c51d74",
"name": "Continia OPplus",
"publisher": "Continia Software",
"version": "25.0.0.0"
},
{
"id": "f88d73b8-66ca-4946-9596-fdb8727d5cea",
"name": "PI Suite",
"publisher": "Some Company",
"version": "24.0.0.0"
}
],
"screenshots": [],
"platform": "27.0.0.0",
"application": "27.4.0.0",
"idRanges": [
{
"from": 52050,
"to": 52099
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": false,
"includeSourceInSymbolFile": false
},
"internalsVisibleTo": [
{
"id": "3158d12c-1975-4c0f-bb8f-61526b0418d9",
"name": "XXX-BaseApp.Test",
"publisher": "Some Company"
}
],
"runtime": "16.0",
"target": "Cloud",
"supportedLocales": [
"de-DE",
"en-US"
],
"features": [
"NoImplicitWith",
"TranslationFile"
]
}
*** Detect ALC.EXE Features.
##[command]& C:\bcartifacts.cache\sandbox\29.0.48565.0\VSIX\extension\bin\win32\alc.exe /?
* PARALLEL
* MAXDEGREEOFPARALLELISM
* ASSEMBLYPROBINGPATHS
* REPORTSUPPRESSEDDIAGNOSTICS
*** Start ALC.EXE / Compile AL Extension
##[command]& C:\bcartifacts.cache\sandbox\29.0.48565.0\VSIX\extension\bin\win32\alc.exe /packagecachepath:"C:\agent\_work\2577\s\MainApp\.ALOPSCache" /project:"C:\agent\_work\2577\s\MainApp" /out:"C:\agent\_work\2577\a\Some Company_XXX-BaseApp_2.0.107108.0_sandbox_29.0_de.app" /fullpaths /ruleset:"C:\agent\_work\2577\s\MainApp\.vscode\rulesets\ruleset.json" /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Windows\assembly","C:\Windows\Microsoft.NET\assembly","C:\bcartifacts.cache\sandbox\29.0.48565.0\platform\Test Assemblies\Mock Assemblies","C:\bcartifacts.cache\sandbox\29.0.48565.0\platform\ServiceTier\PFiles64\Microsoft Dynamics NAV\290\Service" /generatereportlayout-
*** AL Compiler Exit Code: 1
*** Full Compile Log:
Microsoft (R) AL Compiler version 18.0.34.43143
Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'XXX-BaseApp' containing '10' files at '08:07:44.129'.
error AL1022: A package with publisher 'Microsoft', name 'System', and a version compatible with '29.0.0.0' could not be found in the package cache folders: C:\agent\_work\2577\s\MainApp\.ALOPSCache
Compilation ended at '08:08:38.556'.
*** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'C:\agent\_work\2577\a\Some Company_XXX-BaseApp_2.0.107108.0_sandbox_29.0_de.app'
*** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT_ARRAY) = 'C:\agent\_work\2577\a\Some Company_XXX-BaseApp_2.0.107108.0_sandbox_29.0_de.app'
*** AL Compiler raw logs: Start
Microsoft (R) AL Compiler version 18.0.34.43143
Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'XXX-BaseApp' containing '10' files at '08:07:44.129'.
error AL1022: A package with publisher 'Microsoft', name 'System', and a version compatible with '29.0.0.0' could not be found in the package cache folders: C:\agent\_work\2577\s\MainApp\.ALOPSCache
Compilation ended at '08:08:38.556'.
*** AL Compiler raw logs: End
*** Start processing compile results.
�[33;1mWARNING: error AL1022: A package with publisher 'Microsoft', name 'System', and a version compatible with '29.0.0.0' could not be found in the package cache folders: C:\agent\_work\2577\s\MainApp\.ALOPSCache�[0m
*** App not Created: [C:\agent\_work\2577\a\Some Company_XXX-BaseApp_2.0.107108.0_sandbox_29.0_de.app]
*** Skip Uploading App as Build-Artifact
*** Publish XLIF as Artifact skipped
�[32;1mModuleType�[0m�[32;1m Version�[0m �[32;1;3mPreRelease�[0m�[32;1m Name �[0m�[32;1m ExportedCommands�[0m
�[32;1m----------�[0m �[32;1m-------�[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m----------------�[0m
Script 6.1.11 BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, AddTelemetryPropert…
*** PWSH Run Completed: 0
##[section]Async Command Start: Add Build Tag
Build '107108' has following tags now: AL.Analyzer.CodeCop, AL.Analyzer.UICop, AL.Analyzer.PerTenantExtensionCop, AL.Analyzer.AppSourceCop, AL.Analyzer.BusinessCentral.LinterCop, App.prisma License Module PTE.1.0.81050.0, App.Continia System Application.27.0.0.211520, App.Continia Core.27.0.0.209382, App.Continia Connector App.27.0.0.211520, App.Continia OPplus ELSTER VAT Extension.27.0.0.219251, App.Continia OPplus Trial Balance and VAT DACH.27.0.0.224270, App.PI Html Editor.3.0.103671.0, App.Continia OPplus.27.0.4.345531, App.prisma License Module.5.0.104051.0, App.PI Conteksto.5.0.104039.0, App.PI Down Payments.4.0.104633.0, App.PI API for Azure File Share.2.0.104679.0, App.PI Explorer for Azure File Share.2.0.104718.0, App.PI Suite.27.0.104849.0, App.PI Suite Data Provider.27.0.105531.0, App.PI Projects.3.0.106226.0, App.PI Fundamentals.2.0.106565.0, App.To DocuWare.8.1.106708.0, App.XXX-BaseApp.27.0.106815.0, prismabc.azurecr.io/cronus-sandbox-29.0.48565.0-de-ltsc2019, BC.Version.29.0.48565.0, BC.Platform.29.0.48511.0, App.XXX-BaseApp.2.0.107108.0
##[section]Async Command End: Add Build Tag
##[section]Async Command Start: Update Build Number
Update build number to 2.0.107108.0 for build 107108
##[section]Async Command End: Update Build Number
##[section]Finishing: Compile MainApp
Describe the bug
ALOpsAppCompiler@2fails during compilation while reading the manifest of BC 29 artifact apps.e.g.:
the used yaml
the output