VijayAnand.Slnx 0.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global VijayAnand.Slnx --version 0.2.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local VijayAnand.Slnx --version 0.2.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=VijayAnand.Slnx&version=0.2.0                
nuke :add-package VijayAnand.Slnx --version 0.2.0                

.NET tool to modify solution (slnx) file

Installation:

dotnet tool install --global VijayAnand.Slnx

Supported Commands:

Command Description
new Create an empty solution containing no projects.
add Add a project to a solution file.
list List all projects in a solution file.
remove Remove a project from a solution file.

Code Samples:

Works with an implicit solution file.

slnx new
slnx add Test.csproj
slnx list
slnx remove Test.csproj

Works with an explicit solution file too.

slnx new Test
slnx Test.slnx add Test.csproj
slnx Test.slnx list
slnx Test.slnx remove Test.csproj
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.3.0 125 8/30/2024
0.2.0 132 8/13/2024

Join me on Developer Thoughts (https://egvijayanand.in/), an exclusive blog for articles on Xamarin.Forms, .NET MAUI and Blazor.

What's new in ver. 0.2.0:
-------------------------
Included an existence check to prevent adding a duplicate project entry to the solution.

v0.1.0:

First preview release of the tool.

Install the tool with the below command:

dotnet tool install -g VijayAnand.Slnx

It supports 4 commands:

new - Create an empty solution containing no projects.

add - Add a project to a solution file.

list - List all projects in a solution file.

remove - Remove a project from a solution file.

Works with an implicit solution file.

slnx new

slnx add <proj_name>

slnx list

slnx remove <proj_name>

Works with an explicit solution file too.

slnx new <soln_name>

slnx <soln_name> add <proj_name>

slnx <soln_name> list

slnx <soln_name> remove <proj_name>