sln.launcher
2.0.0
dotnet tool install --global sln.launcher --version 2.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local sln.launcher --version 2.0.0
#tool dotnet:?package=sln.launcher&version=2.0.0
nuke :add-package sln.launcher --version 2.0.0
sln.launcher
If like me, you like to play as much as possible with the command lines and you want to launch Visual Studio with the file with the extension sln in the current directory. sln.launcher is the solution.
A dotnet tools allows you to launch Visual Studio with a .sln file in the current directory. In the case of several available files, the user is asked to select one.
Build status
Deployment status
How to install
In order to use this tool, you must have the .NET 8+. You can install the tool by running the following line.
dotnet tool install --global sln.launcher --version 2.0.0
How to use
You are in command prompt, you want to launch Visual Studio but you don't want to type the name of the complete file
sln is THE solution:
sln
Visual Studio will launch itself and open the solution of the current folder.
In case there is no file with the extension sln, an error will be presented to you.
In case you have more than one file with the extension sln in the folder, the program will ask you to choose which one you want to open.
Requirements
In order to use this dotnet tools, you must have installed on your computer:
And finally, you must have the.sln extensions which have as default program Visual Studio.
Credit logo
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
This package has no dependencies.
1.0.0 :
- Initial project
1.0.2 :
- Transfer GitHub account
1.1.0 :
- Sln search includes now subfolder (proposed by and developped by @jmhumblet)
1.1.1 :
- Fix release
1.2.0 :
- Add target framework with net5.0
1.3.0 :
- Add target framework with net8.0
2.0.0 :
- Use Spectre.Console to display the list of solutions and selection
- Remove oldest target framework and support only net8.0 and net9.0