Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET: NuGet/NuPack: Configuring location package files are put in

Okay, so help me understand something here. I've got a new MVC solution and want to use NuGet to keep Modernizr up to date.

The problem is, NuGet puts the Modernizr scripts under ~/Scripts. This won't work--we've decided to put our JS in ~/js.

How do I modify the configuration of this package to tell NuGet that the Modernizr package should go in ~/Scripts or ~/Scripts/global instead?

like image 445
FoobarisMaximus Avatar asked Nov 24 '25 19:11

FoobarisMaximus


2 Answers

I don't think you can do this - I don't think this is functionality of NuGet, but rather the location of the scripts inside the NuGet package. This could vary from one package to another :-(

like image 143
Danny Tuppeny Avatar answered Nov 26 '25 22:11

Danny Tuppeny


This is currently not a feature of NuGet, but it was mentioned in discussion on the a NuGet forums including members of the NuGet team. I don't see any work item that has officially been created for this yet, unfortunately. I performed a quick search of the NuGet issues list for the word "location" and didn't see one out there for this. You might want to request it as a feature.

like image 44
Michael McGuire Avatar answered Nov 26 '25 23:11

Michael McGuire



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!