Skip to main content

Notifications

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.
  • Anton Venter Profile Picture
    Anton Venter 19,493 Super User 2025 Season 1 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans