Can I create a Nuget package for a C# project that includes its project dependencies without also creating separate packages for those dependencies?

Viewed 13

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?

0 Answers
Related