Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use NuGet for JavaScript libraries without putting them in the top-level Scripts folder?

I'd love to use NuGet for jQuery, jQuery UI, Modernizr, Knockout.js, and more. But NuGet wants to put the associated files in /Scripts, which would get way too messy. I'd much prefer them to go into /Content/Scripts/libraries, or at the very least /Scripts/libraries.

Is this possible?

like image 985
Domenic Avatar asked Apr 13 '11 13:04

Domenic


1 Answers

This is not something the NuGet Itself does. Where files go is defined by the Packages themselves. So the Author of the package would need to change the location :-/ You could however author your own package that put the files in the right spot. http://nuget.org/Contribute/Index

like image 103
Matthew M. Osborn Avatar answered Sep 21 '22 07:09

Matthew M. Osborn