Installing a package without included tools

Feb 20, 2012 at 9:15 PM

Is there any Install-Package command line parameter (or some other sneaky feature) which will let me install just the lib folder of a package, ignoring any tools and/or content folders?

Take a package like NHibernate Profiler. It has a single DLL which I would love to have as a reference in my project, but I really don't want to pull the actual profiling software into my source code tree.

Is this "track lib folder only" feature supported by NuGet? 

Feb 20, 2012 at 9:23 PM
Edited Feb 20, 2012 at 9:23 PM

No, there is no such option available in NuGet.

Perhaps you could contact the owner of the NHibernate Profiler package and ask him to split the package into two: one core package contains only the .dll, and the current package will depend on the core one and add contents, tools.