0

I have two GitHub actions for two separate projects, both of which share a project dependency. Currently, when the NuGet package is created for the base project it is also creating a separate NuGet package for each of the project dependencies.

I looked into the dotnet pack command, which provides a --no-dependencies tag, but that prevents it from restoring the dependent projects which is not my intention.

Is it even possible to create a NuGet package that includes the dependent projects without also creating separate NuGet packages for those projects?

  • [`nuget pack -IncludeReferencedProjects`](https://stackoverflow.com/questions/16173568/build-nuget-package-automatically-including-referenced-dependencies)? – CodeCaster Sep 08 '22 at 15:37

0 Answers0