nuget have targets, and allow to run code on build, it doesn't have this problem because there is less dependencies.