In addition to controlling solution packages folder and away from it, do I have the right to move files of a VS2013 solution package like jQuery and jQuery UI to a different folder than solution1/Scripts and get them updated later? can I chose a custom location while install or at any stage?
Asked
Active
Viewed 1,234 times
4
-
1Funny you asked... I JUST did this last night for an assignment at school – JayD Mar 26 '14 at 03:59
1 Answers
-1
Yes. Nugent just makes installing a little easier.. You'll just need to change your links to your scripts folder to wherever you saved them to.
How to install packages in a different location from the default "Packages" folder?
This can be done by setting the "repositoryPath" settings in nuget.config. More Details and step by step Here

JayD
- 6,173
- 4
- 20
- 24
-
I already have external folder for packages installed and my problem now is to use /solution/project/scripts/lib/jquery instead of project/Scripts – hsobhy Mar 26 '14 at 04:11
-
So its actually in the scripts folder... You just added another folder called lib ? and its in there ? – JayD Mar 26 '14 at 04:12
-
they never get updated when install jquery new versions (1.9.1 to 2.10) – hsobhy Mar 26 '14 at 04:13
-
-
1which part on the link do you think it has any relation with my question? .. this is a different issue. – hsobhy Mar 26 '14 at 04:22
-
So let me get this right, You can install and use to where ever... but you want them to update in the new location where you've stored them ? – JayD Mar 26 '14 at 04:24
-
yes .. I think this how it should be .. there is a variable in jquery and most scripts package install.ps1 which is $scriptsFolderProjectItem – hsobhy Mar 26 '14 at 04:29
-
If you just want to update existing installs... follow this guide.. http://www.developerfusion.com/article/131917/using-nuget-packages/ – JayD Mar 26 '14 at 04:32
-
1This is not the answer to the question. Like @hsobhy I would like to change de path from Scripts to Shared\Scripts\jQuery or some other subfolder for each plugin. At this moment when you move the scripts to the new path NuGet wont update the files when they're available. Is there no way to achieve this? – Sc0tTy Mar 31 '15 at 11:28