asp.net-corecommand-line-interface

How to create Solution file with dotnet core CLI


I cannot find a way to create a new solution file using the dotnet core CLI commands described in https://learn.microsoft.com/en-us/dotnet/articles/core/tools/dotnet-sln.

I ran the commands:

after that, the projects were created correctly, but now I want to create a solution file to group them all, but I cannot find the right command to do that. Anyone knows how to do that?


Solution

  • looks like you use

    dotnet new sln --name mysolution
    

    https://learn.microsoft.com/en-us/dotnet/articles/core/tools/dotnet-new