Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

New Post: Determining whether a package is being directly installed or being installed as a dependency from within init.ps1/install.ps1

$
0
0
I like the help page that Glimpse opens inside VS when it is installed, and I'd like to do something similar with my NuGet package, but I don't want it to open when it is installed as a dependency of another package.

My question is is it possible to determine whether a package is being directly installed or being installed as a dependency of another package from within install.ps1/init.ps1?

Viewing all articles
Browse latest Browse all 7612

Trending Articles



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