Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Display NuGet Console Results in a new Window

I caught a pretty awesome tip over Twitter today.

One of the annoying things about using the “Package Manager Console” in NuGet is that you’re constantly scrolling up and down the list of results.  If you’re like me, and you keep your console in the lower panel in VS2010, it’s not exactly easy to see a whole lot at once.

image

You can, however, output the results from your NuGet commands into a popup window by piping it out to “Out-GridView”.

Example

Execute the following command in the Package Manager Console:

List-Package –online | Out-GridView

This time, you’ll get your results in a nice pop-up window:

image

Multiple Commands?

Another weird thing I didn’t know, the following command is the equivalent to the one above in NuGet.

Get-Package –remote | Out-Gridview

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

\\\