Software Development

A journal for sharing all things software development related


Including Dependencies

Sat, 12 Sep 2020 07:33 UTC by garethbrown

As explained in this blog post

http://yer.ac/blog/2019/09/05/dotnet-pack-project-reference-and-nuget-dependency/

nuget pack

Including referenced packages

You can add a flag for including referenced projects, but including referenced packages is not supported by default. From the blog post above it appears that you can include the referenced package if you build from VS with .csproj files, but this is not necessarily agreed on as the correct behaviour.

Including referenced projects

nuget pack AppSoftware.LicenceEngine.KeyGenerator/AppSoftware.LicenceEngine.KeyGenerator.csproj -OutputDirectory packages -Properties Configuration=Release -IncludeReferencedProjects


The information on this site is provided “AS IS” and without warranties of any kind either
express or implied. To the fullest extent permissible pursuant to applicable laws, the author disclaims all warranties, express or implied, including, but not limited to, implied warranties of merchantability, non-infringement and suitability for a particular purpose.

UI block loader
One moment please ...