Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maui winui #370

Draft
wants to merge 7 commits into
base: 3.x
Choose a base branch
from
Draft

Maui winui #370

wants to merge 7 commits into from

Conversation

mfkl
Copy link
Member

@mfkl mfkl commented Nov 14, 2024

Getting lots of these

DEP0900: Failed to unregister application "49861f9e-48d3-45c0-b6a8-f591ad6d2010_1.0.0.1_x64__9zz4h110yvjzm". [0x80073CFA] 

Unsure why. Impossible to uninstall existing appx that match this app ID.

On 3.x, on WinUI, the LibVLC object is built using string parameters retrieved from an initialized VideoView (see the plan WinUI sample code). Will have to re-work the code to handle this in the MAUI sample for WinUI support.

mfkl added 4 commits November 13, 2024 16:30
error NETSDK1152: Found multiple publish output files with the same relative path

Need to adapt libvlc.uwp target?
@jonx
Copy link
Contributor

jonx commented Nov 19, 2024

Have you tried to unregister the app manually?
In a powershell: Get-AppxPackage *49861f9e-48d3-45c0-b6a8-f591ad6d2010*
Then Remove-AppxPackage -Package full package name, in my case the full name is: 49861f9e-48d3-45c0-b6a8-f591ad6d2010_1.0.0.1_x64__9zz4h110yvjzm

@mfkl
Copy link
Member Author

mfkl commented Nov 25, 2024

Exception thrown at 0x00007FFA3639B699 (KernelBase.dll) in LibVLCSharp.MAUI.Sample.exe: WinRT originate error - 0x800F1000 : 'Cannot apply a Style with TargetType 'LibVLCSharp.Platforms.Windows.VideoViewBase' to an object of type 'Microsoft.UI.Xaml.Controls.Control'.'.
Microsoft.ui.xaml.dll!00007FF99E8243D2: 800F1000 - E_NER_INVALID_OPERATION

getting these also

@mfkl
Copy link
Member Author

mfkl commented Dec 10, 2024

Progress. Need to check that 267bf18 doesn't break other UI frameworks.

@mfkl
Copy link
Member Author

mfkl commented Dec 10, 2024

Without 267bf18, there are errors like

Exception thrown at 0x00007FFA3639B699 (KernelBase.dll) in LibVLCSharp.MAUI.Sample.exe: WinRT originate error - 0x800F1000 : 'Cannot apply a Style with TargetType 'LibVLCSharp.Platforms.Windows.VideoViewBase' to an object of type 'Microsoft.UI.Xaml.Controls.Control'.'.
Microsoft.ui.xaml.dll!00007FF99E8243D2: 800F1000 - E_NER_INVALID_OPERATION

With it, though, our windows video view initialization logic is broken since OnApplyTemplate never gets called. Reworking this view hierarchy would likely be a breaking change, for Uno, UWP and WinUI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants