简体   繁体   中英

Nuget package don't have dependency dlls in their nupkg zip

I published a package(.net461) to a feed, this package imports several other feeds by NuGet manager.

But when I download the package, I found the nupkg zip file doesn't have dependency dlls in lib/net461 folder. I could only see the project dll itself and no dependency dlls. I am confused on how nuget take care of these dependencies, and how things work if the dependency dll is not there? Appreciate any helps!

Nuget does not include the dependencies, it references them, by adding an information about what other packages need to be downloaded.

The easiest way to see them is to use the NugetPackageManager (from here ). If you open the nupkg file with this tool, you can see the dependencies of your package at the bottom of the package metadata.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM