I\'m trying to create my first NuGet package. I don\'t know why my install.ps1 script does not get called. This is directory structure
--Package
|
- MyPacka
Install.ps1
(and Uninstall.ps1
) are no longer called in v3, but you can use Init.ps1
. See here:
Powershell script support was modified to no longer execute install and uninstall scripts, but init scripts are still executed. Some of the reasoning for this is the inability to determine which package scripts need to be run when not all packages are directly referenced by a project.