简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM