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, ...
Answered

Azure hosted pipelines and DLLs

(0) ShareShare
ReportReport
Posted on by 45

Hey guys,

I've setup an Azure Pipeline hosted build process and am running into an issue with an external DLL.  I have the DLL checked into source control in the bin folder and the corresponding reference XML checked into thee AxReference folder.  When the Copy binary dependencies step is run, I see the dll being copied...

pastedimage1602446066643v1.png

but when the Build solution step runs, it errors out saying that it can't find that DLL.

pastedimage1602446259717v2.png

Any idea what I might be missing here?

Thanks!

Tim

I have the same question (0)
  • Mutsumi Negishi Profile Picture
    on at

    Hello Tim

    Did you check if you created Descriptor folder and file in source control ?

    I found the following posts that discussed build error like your post in this community although error code is “1” but is not “4”.

    This post might be help for your issue.

     

    https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/252173/chain-of-command-error/705169

  • WillWU Profile Picture
    22,361 on at

    Hi Tim Whalen,

    This seems to be a common issue because of that the dlls in your project have a local filename, and the MSbuild can't find them.

    Please try to changed the DLL reference path in your X++ project.

    Have a look at the same thread and focus on Otavio's solution :community.dynamics.com/.../class-library-dlls-aren-t-beeing-found-in-azure-devops-hosted-agent-pipeline-execution

  • Verified answer
    TimWhalen Profile Picture
    45 on at

    Hey guys, I found out the issue to my problem late yesterday.  I had everything setup correctly with the dll and the AxReference but my issue was that in the Get sources section of my pipeline, the mapping to my code had a path in the "Local path under $(build.sourcesDirectory)" field.  After removing that path, it worked correctly.

    Thanks for the replies!  

    Tim

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 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans