Dotnet tool Nuget pack not listing Dependencies

95 Views Asked by At

When I package a dotnet 6 app as a tool that is, with the following project setting...

<PackAsTool>true</PackAsTool>

the list of dependencies is empty in the generated Nuspec (and so in the package)

I am not sure what the rationale for this is, but is there a way to force the package to list the referenced packages?

1

There are 1 best solutions below

0
Sebastian Slutzky On

I'll accept zivkan's comment as an answer, assuming that what I wan't is not even feasible