dotnet sln add
should allow non-project files to be added to the solution #9611
Open
Description
opened on Jul 19, 2018
In my company we often have a small number of files at the solution level for each solution. These include, for example:
- .tfignore/.gitignore file
- .editorconfig
I can't find anyway to add to these to a solution. The following image shows the result I would like in visual studio.
I would propose a command format such as
dotnet sln <SLN_FILE> add file [file1 [file2 [...]]]
for adding items to a 'Solution Items' folder (as above) and
dotnet sln <SLN_FILE> add --directory=MyFolderName file [file1 [file2 [...]]]
for adding items to a custom named folder
Activity