Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Help with setting up a MS Hosted Agent Build Pipeline - Errors on BuildProject.sln

(0) ShareShare
ReportReport
Posted on by 10

I have set multiple pipeline up using the following as a reference. https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/hosted-build-automation

Imported the latest build pipeline from Github >.18 version.

I am running into some errors on the Build Solution step. the errors are:

D:\a\8\NuGets\Microsoft.Dynamics.AX.Platform.CompilerPackage\DevAlm\Microsoft.Dynamics.Framework.Tools.BuildTasks.targets(52,5): error : Exception in the file SolutionFileParser with Message - Could not find a part of the path 'D:\a\8\s\Metadata'. [D:\a\8\s\Development\Projects\BuildProject\Model1\Model1.rnrproj]
Done Building Project "D:\a\8\s\Development\Projects\BuildProject\Model1\Model1.rnrproj" (default targets) -- FAILED.
Done Building Project "D:\a\8\s\Development\Projects\BuildProjectModel2\Model2.rnrproj.metaproj" (default targets) -- FAILED.
Done Building Project "D:\a\8\s\Development\Projects\BuildProjectModel3\Model3.rnrproj.metaproj" (default targets) -- FAILED.
Done Building Project "D:\a\8\s\Development\Projects\BuildProject\BuildProject.sln" (default targets) -- FAILED.

Build FAILED.

The SLN step matches a working pipeline and is checked in.I do not see any difference in this and a working build pipeline

the Solution is explicity set to the BuildProkect.sln file. the MSBuild arguments are the default:

/p:BuildTasksDirectory="$(NugetsPath)\$(ToolsPackage)\DevAlm" /p:MetadataDirectory="$(MetadataPath)" /p:FrameworkDirectory="$(NuGetsPath)\$(ToolsPackage)" /p:ReferenceFolder="$(NuGetsPath)\$(PlatPackage)\ref\net40;$(NuGetsPath)\$(AppPackage)\ref\net40;$(NuGetsPath)\$(AppSuitePackage)\ref\net40;$(MetadataPath);$(Build.BinariesDirectory)" /p:ReferencePath="$(NuGetsPath)\$(ToolsPackage)" /p:OutputDirectory="$(Build.BinariesDirectory)"

What may be missing here? can anyone offer any thoughts? 

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 565

#2
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 402 Super User 2025 Season 1

Product updates

Dynamics 365 release plans