Enable `dotnet sln` to add SLN-level files
See original GitHub issueI wasn’t able to add SLN-level files to a .sln
file with the commandline tools. VS enables me to do this.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:18
- Comments:20 (14 by maintainers)
Top Results From Across the Web
dotnet sln command - .NET CLI
The dotnet-sln command provides a convenient option to add, remove, and list projects in a solution file.
Read more >Creating and editing solution files with the .NET CLI
In this post, I show how to manage sln files with the .NET command line interface (CLI). See how to create sln files,...
Read more >dotnet sln add file - Developer Community
The `dotnet sln` command from the `dotnet cli` allows you to add and remove projects from a solution. But it doesn't allow you...
Read more >How to add all projects to a single solution with dotnet sln?
For Windows, open PowerShell and run this command to add all projects to the solution file: dotnet sln add (ls -r **/*.csproj).
Read more >Manage .NET (C#) solutions, projects, and files
Add a new project via command line · Press Ctrl Shift 0` or choose View | Terminal from the menu to open the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another vote for this. Having the ability to add existing files to the solution would be very useful. Even something a call for each separate file would work for me:
dotnet sln add --file 'README.MD'
dotnet sln add --file '.github/workflows/workflow.yml'
I’d be a happy uer of the feature, being able to add all my build.props / targets and Directory.Build.props of various folder levels to a solution (including automatic solution folders) without dying of age using the VS UI.