Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Start VS2012 Package Manager Console from Powershell Command Prompt

Is there a way to start the package manager console from either the powershell command prompt or the windows command window?

I have some commands I need to run as administrator, and would rather just run a powershell window as admin instead of shutting down and restarting VS2012 as admin.

like image 458
CleverPatrick Avatar asked Oct 20 '25 10:10

CleverPatrick


1 Answers

Richard is right. One look at NuGet.Console.dll in dotPeek and it is pretty clear it has a lot of required hooks into the Visual Studio object model. Plus, the actual console itself is a WPF UserControl and not a console subsystem app.

like image 93
Keith Hill Avatar answered Oct 22 '25 02:10

Keith Hill



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!