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!
Hello, firstly I would like to thank you immensely for this module, I have been using it for some time, and it really saves your time, I recently formatted my machine, and I came to install the module again, I tried using powershell and powershel7, but the command shows an error:
I solved my problem because I saw that it was possible to install the module via chocolatey, but I think it was interesting to note that using the pwsh command didn't work...