Skip to content

dotnet sln remove now supports finding projects by name in 10.0 #45066

@edvilme

Description

@edvilme

Describe the issue or suggestion

Starting in .net 10, dotnet sln remove will also support removing projects by name in addition to by path.

dotnet sln remove baz

This would find a .csproj file named baz.csproj in the solution, independent of the path to the project. If there is a conflict (aka, multiple baz.csproj files), it would error. Otherwise, it would do the smart thing, find the project defined as foo/bar/baz/baz.csproj and remove it.

Docs should be updated.

Changes introduced in dotnet/sdk#47112


Associated WorkItem - 402715

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.in-prThis issue will be closed (fixed) by an active pull request.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions