I have my own nuget packages located on a disk (local Nuget). i'm trying to not add the same dll multiple times and get in a scenario like the image attached
i have tried the following code during packing but doesn't work
dotnet pack PathtoSolution\SystemCore.Services.Data --no-dependencies --output "G:\NuGetPackages"
however during restoration to another project the dependency comes back.
is there a way to not include dependencies during the packing process or is ignoring at installation time my only option?