Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Issue: Package restore does not restore content files [2094]

$
0
0
The package restore functionality does not restore packaged content files. I created a web application that uses jquery and uses NuGet to restore the packages. I figured that NuGet would restore the jquery javascript files (version dependent) so I did not commit these files to source control. Building this solution from source control does not restore the javascript files from the package.

Comments: I do not have a problem with the filename-change (Git will probably figure it out, as it does for most renames), but I still think it should be possible to add 'Content'. If it is not possible to restore content files jQuery, I have to add this external software package to my source control, IMHO a waste of bytes. One of the main advantages of NuGet is, IMHO, I don't have to (take) care of their software, as long as I can get it restored the same way (read; checkin packages.config). For packages like jQuery a.o. one could have the same advantages as for other (binary) packages (mainly rephrased from ScottGu): - open source projects - packaged - searchable online gallery/catalog - easy to find and install/add - easy to update/remove - automated updating of web.config files - easy management of libraries with projects - minimal source control for external software If we can not restore it, we loose many of those advantages, I think.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>