I recently took a lot of time to add .csproj projects into a solution.
This tool allows you to add all the csproj in the folder and subfolders of the solution in one command:
dotnet addcsproj
In order to use this tool, you must have the .NET Core SDK 3.1+. You can install the tool by running the following line.
dotnet tool install --global Sln.AddCsproj --version 1.0.0
You are in command prompt, you want to add all csproj in the current sln file
Command to use :
dotnet addcsproj
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.