Monday, June 24, 2024

D365 F&O Build Pipeline failed after upgrade to 10.0.40

 

After upgrading the D365 F&O CHE Build Server from 10.0.38 to 10.0.40, our Build Pipeline failed. 

Error Message

error MSB1009: Project file does not exist.

C:\DynamicsSDK\Metadata\Microsoft.Dynamics.AX.Application.Build.targets(40,5): error : Error: dynamics://Class/XYZTable_VendInvoiceInfoTable_Extension/Method/getCheckDate(11,5) - A reference to 'Dynamics.AX.ProcessAutomation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is required to compile this module. [C:\DynamicsSDK\Metadata\BuildMetadata.proj]


Here are the steps we did:

1. Apply 10.0.40 to a CHE Dev env (it was on 10.0.38)
2. Compile clean
3. Apply ISV update 
4. Compile clean
5. Apply 10.0.40 to the CHE Build Server,it  went clean
6. Check-in the ISV updates to the ADO branch
7. Kick off the Build Pipeline and it failed with the above error message

Fix: In the XYZ custom model, add a reference to the "Process Automation" standard model.