Sharpnado.Tabs icon indicating copy to clipboard operation
Sharpnado.Tabs copied to clipboard

[MAUI] Support for WinUI?

Open shrikantbmali opened this issue 2 years ago • 9 comments

shrikantbmali avatar Jan 27 '23 13:01 shrikantbmali

Have you tried it on winUI ?

roubachof avatar Jan 27 '23 14:01 roubachof

I did, tried it in stand-alone app, and also the sample app. both crash with:

: 'Unable to load DLL 'Microsoft.ui.xaml.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)'

Even after targeting to net7.0 getting this:

xception thrown: 'System.Runtime.InteropServices.COMException' in System.Private.CoreLib.dll
Exception thrown: 'System.TypeInitializationException' in Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll

shrikantbmali avatar Feb 04 '23 18:02 shrikantbmali

I have the same problem image

Is there a work around to fix this error? Unable to load DLL 'Microsoft.ui.xaml.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)

upswing1 avatar Feb 05 '23 22:02 upswing1

seems related to: https://github.com/microsoft/WindowsAppSDK/issues/1762

roubachof avatar Feb 06 '23 08:02 roubachof

looks similar, except that one was closed, although the issue is still there. adding the trakcer here: https://github.com/microsoft/WindowsAppSDK/issues/2443

shrikantbmali avatar Feb 07 '23 10:02 shrikantbmali

Seems like the machine is missing the correct component. Can be fixed by intalling VCRedist Source: https://github.com/microsoft/WindowsAppSDK/issues/1762#issuecomment-966649362

roubachof avatar Feb 07 '23 11:02 roubachof

@roubachof I installed the missing components by installing VCRedist restarted the machine but i am still getting the same error trying to run the sample

image

upswing1 avatar Feb 07 '23 19:02 upswing1

well I'm afraid I can't do much about this...

roubachof avatar Feb 07 '23 23:02 roubachof

The sample is missing a Properties/launchSettings.json file containing the following. If you add the file it will work.

{ "profiles": { "Windows Machine": { "commandName": "MsixPackage", "nativeDebugging": false } } }

JRosanowski avatar May 15 '23 05:05 JRosanowski