Skip to content

Why are 'refs' packaged in distributions? #2687

@damien-urruty-sonarsource

Description

Hello,

Disclaimer: I'm not a .NET expert...

I noticed that all net6.0 distributions bundle a 'refs' folder, containing DLL references to the .NET 6 SDK.

Is this folder really needed? My understanding is that it's not mandatory for the application to run. It takes a bit of space in the distribution, and in our case some .NET 6 files are flagged by vulnerability scanning software.

What would it take to not bundle them? I can contribute the change if needed with some guidance.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions