Skip to content

dotnet sln add should allow non-project files to be added to the solution #9611

Open
@r30e

Description

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.
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Area-CLICost:M4 to 10 person weeks of work per central guidancePriority:2Work that is important, but not critical for the releasegood first issueIssues that would be a good fit for someone new to the repository. Narrow in scope, well-defined.help wantedIssues that we would accept external contributions on. Also known as up-for-grabs.new-hire-issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions