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.
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.