It appears that the old way of running commands (init.ps1
) on install is deprecated? https://github.com/NuGet/Home/issues/4318
And that is powershell, which won't work on linux. Our .Net projects can be built by devs on Linux, Mac and Windows.
Is there a mechanism that we can hook into to run some commands or code when our NuGet package is installed via the command line or Visual Studio's NuGet package manager?