when does init.ps1 run and not run

Topics: General
Jan 27, 2013 at 10:20 PM

Does Tools\init.ps1 run when a package is installed or does it run only when i solution is opened containing projects with packages already installed?

If it does run when a package is installed does it run b4 or after the Tools\install.ps1?

Developer
Jan 28, 2013 at 1:58 AM

It run at both time: when package is first installed into the solution and when the solution is opened. It runs before install.ps1.

Jan 28, 2013 at 2:41 AM

Thanks that helps.   This suggests that I should not have behaviors in my init.ps1 that I also have in my install.ps1 and would explain why it seems like some command were running twice at package install time.