Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How make NuGet package run commands/logic on install even on linux/mac/windows?

$
0
0

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?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>