Open nilaoda opened 1 year ago
This was fixed by https://github.com/dotnet/linker/pull/3088 but that fix is only available in .NET 8.0 SDK. Unfortunately the fix is rather large so it raises the risk of taking the fix for servicing. I'll look into it.
In theory there might be a workaround as the bug is order dependent - if the trimmer sees the code in different order it might work, but it's really hard to guess which order will work and which won't.
Sad...Thank you for your efforts.
https://github.com/dotnet/linker/pull/3161 is the 7.0 port of the fix.
Note that this issue is only in the trimmer, it doesn't apply to NativeAOT (which also does triming), so if you manage to get your app working in NativeAOT, this issue should not impact that.
Detail here:
https://github.com/nilaoda/N_m3u8DL-RE/actions/runs/3663371272/jobs/6193112246