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.