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

Community site session details

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

Nuget build pipeline - package with source

(0) ShareShare
ReportReport
Posted on by 12
By default, when using the Nuget packages in a build pipeline for D365FO, only a binary deployable package will be created.  Is there a way to also generate a package with source?
 
With the original method of using a VM, the 'GeneratePackages' steps would run a powershell script that had an option '-NoSource'.  This allowed you to set a flag and you could either generate the binary only or both binary and model packages.  I can't seem to find an option to generate a package with source code using the Nuget pipelines.  Is this possible using Nuget, and if so, how?  My research has failed me to date, as I can't seem to find an answer easily.
 
Thankyou for assistance.
I have the same question (0)
  • Anton Venter Profile Picture
    20,303 Super User 2025 Season 2 on at
    Nuget build pipeline - package with source
    Hi Andrew,
     
    Why would you want to create a deployment package containing the source code?

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 588 Most Valuable Professional

#3
Sumit Singh Profile Picture

Sumit Singh 544

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans