I recieved the following error when trying to build my Business Central App:
A package with publisher ‘Microsoft’, name ‘Application’, and a version compatible with ‘22.214.171.124’ could not be loaded.
Compile-AppInNavContainer : App generation failed At C:\Install\BuildAgent\vsts-agent-win-x64-2.146.0\_work\3\s\PowerShell\BuildAgent\Compile-App.ps1:24 char:5 + Compile-AppInNavContainer -containerName $containerName ` + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Compile-AppInNavContainer
PowerShell exited with code ‘1’.
The scenario I had was an onprem extension version 13 that should be run on a cu 3 which relies on imported CSIDE objects.
What I did to solve the problem was to follow my checklist for CSIDE objects not includes in symbols.