Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

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

$
0
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?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>