Using the command line from within Visual Studio

后端 未结 4 1296
囚心锁ツ
囚心锁ツ 2020-12-18 20:03

I\'d like to have a tool window in Visual Studio that allows me to type command line things (e.g. git stash, npm install, etc.) in the current proj

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-18 20:32

    In Visual Studio 11, the NuGet Package Manager Console is a fully featured PowerShell console. You can do all kinds of things there, including file system operations, git/hg/svn/tfs commands, etc.

    You also can customize the experience with a special PowerShell profile called NuGet_profile.ps1.

    Installing the NuGet VSIX from the Visual Studio gallery will get you a similar experience in VS2010 if I'm not mistaken.

提交回复
热议问题