You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
Compile-AppWithBcCompilerFolder, ALTool returns dependencies.appId for older apps instead of dependencies.id. I have an example from May 2022, a third party app I cannot change.
I cannot say if this is expected from ALTool or a problem there. However, it causes errors when Compile-AppWithBcCompilerFolder is used.
Partial output of scripts
[...]
BcContainerHelper version 6.0.25
BC.HelperFunctions emits usage statistics telemetry to Microsoft
[...]
Getting .app info C:\BuildAgents\MC21\_work\2406\s\.alpackages-8cbe5d9a-64e8-4ad1-b059-fbd52596ae47\cache_AppInfo.json
- Kies Systems GmbH_KS Mobility Suite_21.4.34.0_app.appCompile-AppWithBcCompilerFolder Telemetry Correlation Id: 7f255564-d58b-4fea-b84b-40b6cf5b3b9c
The property 'id' cannot be found on this object. Verify that the property exists. at <ScriptBlock>, C:\Users\mc\Documents\PowerShell\Modules\BcContainerHelper\6.0.24\HelperFunctions.ps1: line 1127
at GetAppInfo, C:\Users\mc\Documents\PowerShell\Modules\BcContainerHelper\6.0.24\HelperFunctions.ps1: line 1127
at Compile-AppWithBcCompilerFolder, C:\Users\mc\Documents\PowerShell\Modules\BcContainerHelper\6.0.24\CompilerFolderHandling\Compile-AppWithBcCompilerFolder.ps1: line 181
at <ScriptBlock>, C:\BcBuild\MC21\execute.ps1: line 1148
at <ScriptBlock>, C:\BcBuild\MC21\execute.ps1: line 1143
at <ScriptBlock>, C:\BcBuild\MC21\execute.ps1: line 782
at <ScriptBlock>, C:\BuildAgents\MC21\_work\_temp\7e677b82-2222-4535-aacf-3ab843a67a87.ps1: line 4
at <ScriptBlock>, <No file>: line 1
##[error]ForEach-Object : The property 'id' cannot be found on this object. Verify that the property exists.
At C:\Users\mc\Documents\PowerShell\Modules\BcContainerHelper\6.0.24\HelperFunctions.ps1:1127 char:136
[...]
Describe the issue
Compile-AppWithBcCompilerFolder, ALTool returns dependencies.appId for older apps instead of dependencies.id. I have an example from May 2022, a third party app I cannot change.
I cannot say if this is expected from ALTool or a problem there. However, it causes errors when Compile-AppWithBcCompilerFolder is used.
Partial output of scripts
Working, compiled in October 2024
NOT working, compiled in May 2022
Original code in HelperFunctions.ps1
The text was updated successfully, but these errors were encountered: