Hoping someone can please offer thoughts on this behaviour. We've got a pair of Tier 1 cloud-hosted environments in an LCS project with TFS for the extension developments. On the Dev box, the custom models all build successfully, so I've attempted to check a series of changes. The gated checkin pipeline then fails with 11 errors, all thrown by objects that have been deleted within the changeset. The pipeline shows the deletes in its Checkout task, so I can't understand why the build is then attempting to compile the objects.
Example error:
C:\DynamicsSDK\Metadata\Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: AxMap/CUSLetterTemplateMap/Mappings/CUSLetterTemplate/Connections/LegalEntity/MapFieldTo - Field 'LegalEntity' does not exist. [C:\DynamicsSDK\Metadata\BuildMetadata.proj]
Checkout task extract:
Metadata\CUSDevelopment\CUSDevelopment\AxMap:
Unshelving delete: CUSLetterTemplateMap.xml
I've tried a remote desktop connection onto the build machine whilst the pipeline is running, monitoring the metadata folder above, and I can see the relevant map appearing in the folder, being deleted, and then appearing again as the error gets thrown.
Any thoughts gratefully received.