Skip to content

Make sure LVS libraries are Trimming-friendly

Problem to solve

We need to make sure that LibVLCSharp libraries are Trimming-friendly when embedded in applications that enable trimming. If not, we would need to fix that.

I don't think of anywhere we're using reflection or something, but maybe callbacks could be trimmed out if it doesn't see the dependency?

References :

Intended users

Developers that care about trimming their app.

Proposal

dotnet publish a trimmed version of the samples and see if they still work.

Documentation

Just tell our libraries are trimming-enabled.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information