web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Error compiling the newly created build pipeline for D365 F&O

(1) ShareShare
ReportReport
Posted on by 15
Hello experts,
 
I've created new build pipeline for D365F&O in DevOps. I followed all the instruction as per suggestions but still getting the below error;
 
##[error]D:\a\8\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.
 
Not sure how to find the rootcause of it I've never experienced this error in my earlier projects. Not sure what is wrong with the steps.
 
 
These are the configuration settings in pipeline
 
Branching here;
 
I've got stuck with this for the past 2-3 days and can't find the way forward. Request every expert to throw some light on it.
 
<UPDATE> - errorLog attached
 
 
 
 
 
##[debug]Processed: ##vso[task.logdetail id=f5c72fff-cad6-445d-b368-a9806ddebd2c;parentid=d48ecd24-b1f9-4f23-8b36-29f9ec25f2f8;name=xyzPITBuild.rnrproj.metaproj;type=Build;starttime=2024-08-15T07:07:12.4863931Z;state=InProgress;]
##[warning]D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj.metaproj(0,0): Warning MSB4046: Error reading project file "xyzPITBuild.rnrproj": Could not find file 'D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj'.
##[debug]Processed: ##vso[task.logissue type=Warning;sourcepath=D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj.metaproj;linenumber=0;columnnumber=0;code=MSB4046;]Error reading project file "xyzPITBuild.rnrproj": Could not find file 'D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj'.
Project "D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.sln" (1) is building "D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj.metaproj" (2) on node 1 (default targets).
D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj.metaproj : warning MSB4046: Error reading project file "xyzPITBuild.rnrproj": Could not find file 'D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj'.
##[debug]Processed: ##vso[task.logdetail id=f5c72fff-cad6-445d-b368-a9806ddebd2c;parentid=d48ecd24-b1f9-4f23-8b36-29f9ec25f2f8;type=Build;result=Succeeded;finishtime=2024-08-15T07:07:12.5177006Z;progress=100;state=Completed;parentid=d48ecd24-b1f9-4f23-8b36-29f9ec25f2f8;name=;]
Done Building Project "D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.rnrproj.metaproj" (default targets).
##[debug]Processed: ##vso[task.logdetail id=2b75671a-9592-484d-a89d-b6525d8888f8;parentid=d48ecd24-b1f9-4f23-8b36-29f9ec25f2f8;name=TSCAddOn\TSCAddOn.rnrproj.metaproj;type=Build;starttime=2024-08-15T07:07:12.5177006Z;state=InProgress;]
##[debug]Agent environment resources - Disk: D:\ Available 4981.05 MB out of 14334.00 MB, Memory: Used 1857.00 MB out of 7167.00 MB, CPU: Usage 7.00%
##[debug]Agent environment resources - Disk: D:\ Available 4981.05 MB out of 14334.00 MB, Memory: Used 1839.00 MB out of 7167.00 MB, CPU: Usage 7.00%
##[debug]Processed: ##vso[task.logdetail id=45f94c7e-b190-4881-95db-0d569d100dde;parentid=2b75671a-9592-484d-a89d-b6525d8888f8;name=xyz\xyz.rnrproj;type=Build;starttime=2024-08-15T07:07:21.0476457Z;state=InProgress;]
Project "D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.sln" (1) is building "D:\a\8\s\Build\xyzPITBuild\TSCAddOn\TSCAddOn.rnrproj.metaproj" (3) on node 1 (default targets).
Project "D:\a\8\s\Build\xyzPITBuild\TSCAddOn\TSCAddOn.rnrproj.metaproj" (3) is building "D:\a\8\s\Build\xyzPITBuild\xyz\xyz.rnrproj" (4) on node 1 (default targets).
ResolveModels:
SolutionFileParser Execute method
Found 5 projects in the solution file
##[error]D:\a\8\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.
##[debug]Processed: ##vso[task.logissue type=Error;sourcepath=D:\a\8\NuGets\Microsoft.Dynamics.AX.Platform.CompilerPackage\DevAlm\Microsoft.Dynamics.Framework.Tools.BuildTasks.targets;linenumber=55;columnnumber=5;code=MSB4181;]The "FindModuleFromDescriptor" task returned false but did not log an error.
D:\a\8\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. [D:\a\8\s\Build\xyzPITBuild\xyz\xyz.rnrproj]
##[debug]Processed: ##vso[task.logdetail id=45f94c7e-b190-4881-95db-0d569d100dde;parentid=2b75671a-9592-484d-a89d-b6525d8888f8;type=Build;result=Failed;finishtime=2024-08-15T07:07:21.0945238Z;progress=100;state=Completed;parentid=2b75671a-9592-484d-a89d-b6525d8888f8;name=;]
Done Building Project "D:\a\8\s\Build\xyzPITBuild\xyz\xyz.rnrproj" (default targets) -- FAILED.
##[debug]Processed: ##vso[task.logdetail id=2b75671a-9592-484d-a89d-b6525d8888f8;parentid=d48ecd24-b1f9-4f23-8b36-29f9ec25f2f8;type=Build;result=Failed;finishtime=2024-08-15T07:07:21.0945238Z;progress=100;state=Completed;parentid=d48ecd24-b1f9-4f23-8b36-29f9ec25f2f8;name=;]
Done Building Project "D:\a\8\s\Build\xyzPITBuild\TSCAddOn\TSCAddOn.rnrproj.metaproj" (default targets) -- FAILED.
##[debug]Processed: ##vso[task.logdetail id=086df7cb-a2b2-4272-b430-940eadb0f6b3;parentid=d48ecd24-b1f9-4f23-8b36-29f9ec25f2f8;name=TSCTPMAddOn\TSCTPMAddOn.rnrproj.metaproj;type=Build;starttime=2024-08-15T07:07:21.0945238Z;state=InProgress;]
##[debug]Processed: ##vso[task.logdetail id=7b20dd94-4e0a-4ba1-958a-35eb2a9750b5;parentid=086df7cb-a2b2-4272-b430-940eadb0f6b3;name=TSCTPM\TSCTPM.rnrproj;type=Build;starttime=2024-08-15T07:07:21.1101994Z;state=InProgress;]
Project "D:\a\8\s\Build\xyzPITBuild\xyzPITBuild.sln" (1) is building "D:\a\8\s\Build\xyzPITBuild\TSCTPMAddOn\TSCTPMAddOn.rnrproj.metaproj" (5) on node 1 (default targets).
Project "D:\a\8\s\Build\xyzPITBuild\TSCTPMAddOn\TSCTPMAddOn.rnrproj.metaproj" (5) is building "D:\a\8\s\Build\xyzPITBuild\TSCTPM\TSCTPM.rnrproj" (6) on node 1 (default targets).
ResolveModels:
SolutionFileParser Execute method
Found 5 projects in the solution file
##[error]D:\a\8\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.
 
I have the same question (0)
  • Martin Dráb Profile Picture
    236,320 Most Valuable Professional on at
    Error compiling the newly created build pipeline for D365 F&O
    Please give us the whole task output. Your first screenshot shows just a few characters of each line.
  • FF-19080433-0 Profile Picture
    15 on at
    Error compiling the newly created build pipeline for D365 F&O
    Hi Martin,
     
    Just attached the error log to the original post. Please refer 
  • Martin Dráb Profile Picture
    236,320 Most Valuable Professional on at
    Error compiling the newly created build pipeline for D365 F&O
    The second line says that the project file (xyzPITBuild.rnrproj) couldn't be found. Check whether the path is correct and whether the file was obtained in Get sources task.
  • FF-19080433-0 Profile Picture
    15 on at
    Error compiling the newly created build pipeline for D365 F&O
    Hi Martin,
     
    Project not found, is the warning. However, I earlier corrected the path and the warning disappears but it still throws the same error.
     
    ##[error]D:\a\8\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.
     
    I can able to get the files in 'Get sources' task
  • Martin Dráb Profile Picture
    236,320 Most Valuable Professional on at
    Error compiling the newly created build pipeline for D365 F&O
    Which project (or projects) is now failing? Having the current log would be useful. By the way, can't you start with a single project and complicate the situation only after you get the simpler case working (if it's needed at all)?
  • FF-19080433-0 Profile Picture
    15 on at
    Error compiling the newly created build pipeline for D365 F&O
    It gives error for all the 5 project. I initially tried with one project, its the same error. I have recent log file but can't paste here, which says 'Request not processed'. any ways to attach a file ?
  • FF-19080433-0 Profile Picture
    15 on at
    Error compiling the newly created build pipeline for D365 F&O
    It gives error for all the 5 project. I initially tried with one project, its the same error. I have recent log file but can't paste here, which says 'Request not processed'. any ways to attach a file ?
  • Martin Dráb Profile Picture
    236,320 Most Valuable Professional on at
    Error compiling the newly created build pipeline for D365 F&O
    If it doesn't work it with one, using more doesn't make a good sense, because it'll fail too and the extra complexity just complicates your case. Let's simplify it by focusing on just one. What do you have in the .sln file?
     
    By the way, how did you create the pipeline? Did you import one from GitHub/Dynamics365-Xpp-Samples-Tools/CI-CD/Pipeline-Samples?
  • FF-19080433-0 Profile Picture
    15 on at
    Error compiling the newly created build pipeline for D365 F&O
    It gives error for all the 5 project. I initially tried with one project, its the same error. I have recent log file but can't paste here, which says 'Request not processed'. any ways to attach a file ?
  • FF-19080433-0 Profile Picture
    15 on at
    Error compiling the newly created build pipeline for D365 F&O
    Hi Martin, Here's the solution at the moment. But will try to remove again other project to keep it simple. However the issue remains same;
    Yes, I have got the pipeline from here GitHub/Dynamics365-Xpp-Samples-Tools/CI-CD/Pipeline-Samples.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,047

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 885 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 592 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans