Rather than navigating around Windows explorer, looking for that pesky .sln
file you want to open, why not just open in from your command line? This module allows you to type sln
from your PowerShell terminal window to open the first .sln
file found within the current directory or any of its children.
- Download this gist as a zip file.
- Extract the file to
\Documents\WindowsPowerShell\Modules\Open-Solution
. - Restart PowerShell.
- Navigate to a directory that contains a Visual Studio solution file and type
sln
. - Alternatively, type
sln <PATH_TO_DIRECTORY_CONTAINING_VS_SOLUTION_FILE_AT_ANY_DEPTH>
- Profit!
- Run
Install-Module -Name WhatsNew
. https://github.com/refactorsaurusrex/whats-new - Type
sln
. - Profit!
Oh sorry my ctrl v is wrong, i type the complete row:
Install-Module -Name WhatsNew. https://github.com/refactorsaurusrex/whats-new
https://github.com/refactorsaurusrex/whats-new shouldn't be in charge