Our tier-2 and production environments were switched to self-service environments.
When they were still Microsoft-managed, I used to merge the retail deployable package with the AX deployable package and upgrade them with the merged package. This was needed because the ISV software we use for payments, have a commerce component that needed to be copied into the AOS directories for it to work. The merged package took care of that.
With the switch to the self-service environment, I lost the ability to create merge packages. The environments now refuse to recognize the merge package. So now I have to create the commerce payment package for D365F&O.
I also don't make use of a build server, I now use the build automation using a Microsoft-hosted agent: (Build automation that uses Microsoft-hosted agents and Azure Pipelines - Finance & Operations | Dynamics 365 | Microsoft Docs)
Now if I look at Create Commerce payment packaging for Finance and Operations deployment - Commerce | Dynamics 365 | Microsoft Docs, it only explains how to create the package with Visual Studio.
According to this link also I only copy DLLs and HTML files into the new model for the payment package. It also doesn't mention if I need to add this new model as a reference to my custom model. It just states in step 4: Select the required referenced package, and then select Next.. So what is the 'required referenced package' ?
Can I add it to the build pipeline so that it can be added automatically to the AX deployable package?
If so, because it has mostly DLLs with HTML files in the Resource directory, do I just add it to the step: Copy BinaryDependencies to $(BuildBinariesDirectory) in the pipeline or do I have to add it to the Visual Studio project that contains the 3rd party models that contains their source code and which then will be included in the step : build solution step in the pipeline setup?
Any help with this is much appreciated.