As explained here http://blog.davidebbo.com/2011/05/thoughts-on-installing-and-updating.html," Nuget.exe install" is not intended to install a package outside Visual Studio, but rather to restore a package in order to avoid to commit this package in source code control.
This means "nuget install" doesn't make modifications to the csproj file, does not run perform config transformations, and does not copy the files in the "Content" directory to the target directory.
I've a package with large files in the content directory that I'd like not to commit, and it would be nice if "nuget install" could additionally copy these files if they are missing in the target directory.
Actually, maybe a new command like "nuget restore" would be more appropriate than "nuget install".
Thanks
Comments: Such "nuget restore" should copy content files, but should not run install.ps1 or update csproj files. For the corner cases, there are some packages, that : - put in content\ files that aren't really needed (like Elmah with App_Readme\Elmah.txt), this would be handled by not updating csproj - open readme.txt in Visual Studio tab (like Castle.Windsor), this will be handled by not running install.ps1
This means "nuget install" doesn't make modifications to the csproj file, does not run perform config transformations, and does not copy the files in the "Content" directory to the target directory.
I've a package with large files in the content directory that I'd like not to commit, and it would be nice if "nuget install" could additionally copy these files if they are missing in the target directory.
Actually, maybe a new command like "nuget restore" would be more appropriate than "nuget install".
Thanks
Comments: Such "nuget restore" should copy content files, but should not run install.ps1 or update csproj files. For the corner cases, there are some packages, that : - put in content\ files that aren't really needed (like Elmah with App_Readme\Elmah.txt), this would be handled by not updating csproj - open readme.txt in Visual Studio tab (like Castle.Windsor), this will be handled by not running install.ps1