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

Notifications

Announcements

No record found.

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? 

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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans