split uwp and winui from main package#428
Conversation
|
Confirmed my project was built successfully with the new UWP package. I was trying to add just one extra package, but I couldn't find a way to split cleanly. This is way better. Thanks 👍 |
|
Thank you for your feedback @huynhsontung I will do a bit more testing/cleanup and merge/release this soon. |
|
It does build, but did you try running your app? |
Adds LibVLCSharp.UWP.Modern, an SDK-style UWP head running on native .NET 9/10 (UseUwp), validating LibVLCSharp.UWP from a modern .NET app head. Registered in the solution.
These compatibility packages are in-box on net9/net10 and trip NuGet pruning (NU1510), which TreatWarningsAsErrors escalates to an error.
Define RuntimeIdentifier globally per platform so referenced project outputs and the XAML compiler resolve to the same path (avoids WMC1006/CS0006 in VS).
The bundled test certificate expired 2020-03-31, breaking the signed package build (APPX0108). Regenerated (CN=VideoLAN, valid to 2027).
Pin the project reference to uap10.0.18362 and round out the AnyCPU build configuration.
|
I can't test that yet because there is outstanding work need to be done for Screenbox to run in UWP Native AOT. Right now, the app just crashes when I try to run it because of other issues unrelated to LibVLC. I can create a test application to validate this if you'd like. |
|
No its all good, I did. But the UWP libvlc nuget needs updating I think, and that will likely break consumers. But you're using your own so you're good I think |
|
Is your app still relying on ? |
fix https://code.videolan.org/videolan/LibVLCSharp/-/work_items/652
/cc @huynhsontung