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

Adding a .Net Class Library to the Azure DevOps build process

(0) ShareShare
ReportReport
Posted on by 20

 Wrote a nice article about build errors when referncing .Net class in Azure devops build that we don't face with visual studio.

The proposed solution when referencing .Net class is to have to check in a the .Net binary into Devops Repo. Isn't there a possibility that the build agent behave like visual studio and compile our refereced C# project before our X++ module referencing the c# library instead of loading the the C# binary itself in the repo?

I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Imad,

    C# project can't be compiled in the standard D365 build pipeline, because C# classes even don't store in the metadata folder

    C# project just needed to produce dll for D365 model and if you reference C# project in x++ project, it usual VS project reference with Copy local = true option (it's only my guess because each time when you build C# project, dll copied to D365 model bin folder)

  • Imad B Profile Picture
    20 on at

    Thanks Sergei for you Answer! so no ther option than copying C# binaries to Devops.

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Imad,

    Do you want to build C# project as well during DevOps build and use compiled dll somehow afterward? What is the purpose of that?

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

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans