MahApps / MahApps.Metro.IconPacks

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

An exception was thrown while setting the property 'MahApps. Metro. InconPacks. PackIconMaterial. Kind #345

Closed caradilin closed 3 months ago

caradilin commented 3 months ago

Describe the bug

TypeLoadException: Could not load type 'MahApps.Metro.IconPacks.PackIconMaterialDataFactory' from assembly 'MahApps.Metro.IconPacks.Material, Version=5.0.0.0, Culture=neutral, PublicKeyToken=0c0d510f9915137a'.

Note: There is also a gitter room to ask about usage or something else.

To Reproduce Steps to reproduce the behavior: xmlns:ext="http://schemas.abtsoftware.co.uk/scichart/exampleExternals" Like: If I use IconPacks: PackIconMaterial, I also have the same problem.

Screenshots

image image

If applicable, add screenshots to help explain your problem.

Desktop Environment (please complete the following information):

Repo If it's possible follow these guidelines for a good sample and I will most likely look at the issue sooner:

Additional context Add any other context about the problem here.

timunie commented 3 months ago

That's not a helpful ticket. Best to file a very minimal demo to investigate. I guess you have a package missmatch somewhere.

caradilin commented 3 months ago

Hey Tim, refer to : https://github.com/caradilin/DemoTest/blob/main/WpfApp1/WpfApp1.sln

timunie commented 3 months ago

Sorry, but this is not a minimal demo. We have no time to investigate entire solutions.

caradilin commented 3 months ago

Sorry,updated completed.

timunie commented 3 months ago

Can't reproduce your issue. 🤷

punker76 commented 3 months ago

@caradilin The problem is that the example NuGet package from SciChart has a dependency to MahApps.Metro.IconPacks v4.11.0

https://github.com/search?q=org%3AABTSoftware+MahApps.Metro.IconPacks.Material&type=code

So it's not possible to use v5.0 in you project.

caradilin commented 3 months ago

@caradilin The problem is that the example NuGet package from SciChart has a dependency to MahApps.Metro.IconPacks v4.11.0

https://github.com/search?q=org%3AABTSoftware+MahApps.Metro.IconPacks.Material&type=code

So it's not possible to use v5.0 in you project.

Thx, Punker