MahApps / MahApps.Metro.IconPacks

Awesome icon packs for WPF and UWP in one library
MIT License
1.76k stars 215 forks source link

IconPacks for WinUI (both Desktop and UWP) #252

Open wbokkers opened 3 years ago

wbokkers commented 3 years ago

With the latest WinUI 3 preview 3, I get the following error on compiling with MahApps.Metro.IconPacks.Material installed: NETSDK1082
There was no runtime pack for Microsoft.WindowsDesktop.App.WPF available for the specified RuntimeIdentifier 'win10-arm64'. Xelion

Any change of supporting WinUI in the future?

wbokkers commented 3 years ago

Removing the arm runtime works. Is targeting arm on the roadmap?

punker76 commented 3 years ago

@wbokkers I've never expected that this would be running with WinUI 3, but nice to hear that it works. I must look into the whole WinUI 3 stuff to understand how it could be run with arm support.

wbokkers commented 3 years ago

@punker76 I was a bit too optimistic. I can compile and use PackIconMaterial in XAML, but unfortunately the icon is not displayed. Instead the type name is displayed.

wbokkers commented 3 years ago

The main change needed is renaming the namespaces Windows.UI.Xaml to Microsoft.UI.Xaml and find the compilation constant that's being used for WinUI.

tinmac commented 2 years ago

@wbokkers did you ever get IconPacks working on Winui in Desktop, or is it a non starter @punker76 ?

wbokkers commented 2 years ago

@tinmac I got a copy of the most important controls to work on WinUI 3 with some changes. I am not sure if there is a NuGet package now that works on WinUI.

djonasdev commented 2 years ago

+1 👍

Diegorro98 commented 1 year ago

+1 too Any news?