Created
July 19, 2023 19:37
-
-
Save timheuer/72bd64b4b55a89b7c3e96ce1079ba462 to your computer and use it in GitHub Desktop.
vs dot
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
function vs { | |
$p = Get-Location | |
$sln = gci *.sln,*.csproj -n -recurse | select -f 1 | |
Write-Output "Opening $p\$sln" | |
Start-Process -FilePath "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe" -ArgumentList "$p\$sln" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment