
Hi All,
I am facing issue in while including the ISV binary files.
Steps followed
1) Delete the old ISV solution then Checked in.
2) Install new ISV model with AxupdateInstaller.exe. Add the folders in source control then Checked in
3) Identified Binary files are not included, So added in source control following the step used in below screenshot and then checkin
4) Full build and DB sync was successful.
Issue-
1) Each time I build the model and check(pending changes for check in) in branch. I found that binary files are pending for check in. Eventhough i checked in binary files twice.
2) Whenever we execute the pipeline it gives me error
D:\a\8\NuGets\Microsoft.Dynamics.AX.Platform.CompilerPackage\DevAlm\Microsoft.Dynamics.Framework.Tools.BuildTasks.targets(51,5): Error : Fatal: Unable to create metadata provider. Serialization version mismatch detect, make sure the runtime dlls are in sync with the deployed metadata. Version of file '201'. Version of dll '199'.
As per the details mentioned by Joris((+) Including ISV Binaries in Your Package - Dynamics 365 Finance Community), include binaries is to be added in Argument of "Generate package" step.
But I am using Azure server less pipeline and it does not have any steps with "Generate package". Please refer to screen shot below
Thanks in advance
If you have source code of the model (which you have, because you're able to compile it), adding binaries to source control is a mistake. As you see, binaries are re-generated every time when you run a build.
Keep just the model folder and its descriptor in source control. Remove everything else, such as the bin folder.