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

Announcements

No record found.

News and Announcements icon
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 18

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? 

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans