Skip to content

Remove libraries folders that don't have src/*.cs files #78978

@jozkee

Description

@jozkee

Based on a conversation on https://github.com/dotnet/runtime/pull/78935/files#r1035029354.

It would be nice if we could remove folders that don't generate implementation assemblies because their types were moved to another assembly for unification.

If I browse through C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.0 I can see that there are assemblies that ship with dotnet and don't have a folder or a csproj in our src\libraries. e.g: System.IO.Compression.FileSystem.dll.

Is it possible to remove more folders from libraries in a similar way?
In case is not possible, what makes System.IO.Compression.FileSystem.dll special?

In case of being possible we could be able to potentially remove all these folders (at least from the ones owned by my area pod):

  • System.IO.FileSystem.Primitives
  • System.IO.FileSystem
  • System.IO.Pipes.AccessControl
  • System.IO.UnmanagedMemoryStream
  • System.IO
  • System.Security.Cryptography.Algorithms
  • System.Security.Cryptography.Cng
  • System.Security.Cryptography.Csp
  • System.Security.Cryptography.Encoding
  • System.Security.Cryptography.OpenSsl
  • System.Security.Cryptography.Primitives
  • System.Security.Cryptography.X509Certificates

Metadata

Metadata

Assignees

Labels

area-Infrastructure-librariesquestionAnswer questions and provide assistance, not an issue with source code or documentation.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions