Forum Discussion
Azure DevOps Build Pipeline for D365 FO (X++)
Hello,
I am working on Azure DevOps build pipeline based on the standard template available from MS. On pipeline execution getting below error such as
##[error]D:\a\1\NuGets\Microsoft.Dynamics.AX.Platform.CompilerPackage\DevAlm\Microsoft.Dynamics.Framework.Tools.BuildTasks.targets(55,5): Error MSB4181: The "FindModuleFromDescriptor" task returned false but did not log an error.
Is there a workaround/solution to progress further?
Thanks
Rama
1 Reply
Try to fix by the following:
- Verify Descriptor Files
Ensure that each package you're building has a valid Descriptor.xml file in the correct location:
- Path should be:
<RepoRoot>\Build\<PackageName>\<PackageName>.Descriptor.xml- Check Package Naming
Make sure the folder and project names match the expected package names exactly.
- Update NuGet Packages
Ensure you're using the correct and latest versions of the required NuGet packages:
- Microsoft.Dynamics.AX.Platform.CompilerPackage
- Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp
- Others depending on your packages
- Check Pipeline Configuration
Make sure your pipeline YAML or classic pipeline JSON is referencing the correct paths and variables:
- BuildModules should list the correct package names
- ModuleToBuild should match the descriptor file names