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

IconPacks for WinUI (both Desktop and UWP) #252

Open
wbokkers opened this issue Nov 19, 2020 · 8 comments
Open

IconPacks for WinUI (both Desktop and UWP) #252

wbokkers opened this issue Nov 19, 2020 · 8 comments

Comments

@wbokkers
Copy link

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
Copy link
Author

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

@punker76
Copy link
Member

@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
Copy link
Author

@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 wbokkers reopened this Nov 19, 2020
@wbokkers
Copy link
Author

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
Copy link

tinmac commented Nov 1, 2021

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

@wbokkers
Copy link
Author

wbokkers commented Nov 1, 2021

@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
Copy link

+1 👍

@Diegorro98
Copy link

+1 too
Any news?

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

No branches or pull requests

5 participants