Created
July 3, 2012 15:01
-
-
Save davecowart/3040279 to your computer and use it in GitHub Desktop.
VS Open Function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#If you're in a folder with a solution file, it'll open the solution - otherwise it'll just open Visual Studio | |
Set-Alias vs "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" | |
function vso { | |
$SolutionFile = @(gci *.sln)[0] | |
vs $SolutionFile | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment