Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 790 Bytes
comments date layout slug title wordpress_id tags
2011-03-15 06:15:10 +0000
Opening a solution from the command line in PowerShell

As you probably have realized by now, I love the command line. It’s the most productive tool we can have. And as I’ve not blogged very much lately, with me being busy building OpenHttp, OpenRasta 3, OpenWrap and other lovely Open things, I thought I’d share a quick snippet I use on a daily basis with powershell.

    ls -in *.sln -r | select -first 1 | %{ ii $_.FullName }

What this little script does is find the first solution file under your current path and open it in Visual Studio. Trivial but a time saver over and over again.