Rename List-Package -Local to -Installed?

Sep 18, 2010 at 12:22 AM

I propose we rename the -Local parameter of List-Package to -Installed (or, -Added). It's more intuitive and aligns to the dialog. -Local doesn't really mean anything to me as a user or tie to a user's action.

I also propose we add which project(s) a package is added to in the output. I just confused myself for 10 minutes because I had two projects, ran List-Package -Local to see what all I needed to Remove to get back to zero state, and when I tried to run Remove-Package against each, one gave me "Package ID not found". It was because I needed to switch to the second project to run the Remove-Package command. Having the project location in the output would have been a good clue to me.

Coordinator
Sep 18, 2010 at 12:24 AM

I like -Installed. 100% agree.

Sep 18, 2010 at 12:58 AM

+1 about the switch rename.

Note that there is some trickiness here once you start thinking about solution level packages, which are installed but not in any specific projects.  I guess it just means that the list of projects for a given package my be empty, in which case we can say "Solution" or something like that.

Sep 18, 2010 at 2:06 AM

+1