How do I tell NuGet that I do NOT want a particular dependancy from a package? -
How do I tell NuGet that I do NOT want a particular dependancy from a package? -
there's particular bundle project on nuget. however, bundle author has decided include several dependant packages don't care , not required main package. have tried convincing bundle author these should separate packages , not dependancies - no avail.
is there way tell nuget want bundle exclude dependancy?
perhaps in packages.config or similar?
<?xml version="1.0" encoding="utf-8"?> <packages> <package id="somepackage" version="1.0.0"> <ignoredependancy id="somepackage.uselessstuff" /> </package> </packages>
i figured out.
install-package -ignoredependencies
or
uninstall-package -force
nuget
Comments
Post a Comment