Steps to replicate.
- Install the new package on the project
- Build the project
You can see that nuspec file is not update with this new dependency.
Existing script is only updating the existing packages and removing the uninstalled one.
We need update this script to add new dependency whenever new package is installed on the project