nuget scripts and package restore

Topics: General
Mar 13, 2013 at 12:59 AM
Does NuGet not execute scripts when restoring packages? I have Package Restore enabled for a project and the scripts (install.ps1, for example) do not seem to execute for a developer who gets the project from TFS for the first time, and the Package Restore kicks in to fetch the package.
Mar 13, 2013 at 4:43 AM
No it doesn't execute scripts.
Mar 20, 2013 at 11:25 PM
Why? :)

Right now each person in our team need to do some things manually after package restore, because P# scripts are not running automatically.
Mar 21, 2013 at 6:21 AM
The reason is that package restore is simply package restore (not reinstall). The PowerShell script should only be executed when the package is added (not restored). And that's why they are usually called "install.ps1".