Hi,
This is continuation from my effort here https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/401765/build-automation-add-nuget-package-to-azure-artifacts-feed where I'm trying to configure build automation.
After successfully adding nuget packages to azure devops feed, I imported the sample pipeline from https://github.com/microsoft/Dynamics365-Xpp-Samples-Tools/tree/master/CI-CD/Pipeline-Samples to my project.
Now I'm running the build for the first time. I have custom models with below naming conventions:
- TDD9
- TDD10
- TDD11
- TDD12
These models have dependencies like following:
- TDD10 refers to TDD9.
- TDD11 refers to TDD9 & TDD10.
- TDD12 refers to TDD9, TDD10 & TDD11.
In DevOps repos, naturally they are sorted by name alphabetically like this:
- TDD10
- TDD11
- TDD12
- TDD9
So when running the pipeline, looks like it builds TDD10 first and since TDD10 have reference to TDD9 & TDD9 haven't been built yet, the build throws error
"No assembly matching referenced module 'TDD9' is found".
How can we handle this situation? Can we sort which models to build first?
There has to be a way where it automatically detects all model dependencies and run the build accordingly I assume?
Thank you.