How to open readme URL for NuGet package?
nuget, nuget-package
Solution
It is done through a PowerShell script in the package's tools\install.ps1 file. Download the Glimpse package package, extract the archive, look for the tools\install.ps1 file.
At the bottom, you'll find the following script which performs the navigation:
$DTE.ItemOperations.Navigate("http://getglimpse.com/Version/Install/?" + $package.Id + "=" + $package.Version)
Problem
In NuGet, you can put a readme.txt in the root of the pacakge and it will open automatically. However, I have seen NuGet packages open a URL upon installation. How is this done (you can see an example with this NuGet package).