Skip to content

MahApps.Metro 1.3.x is huge, can we split the icons from the dll? #2589

@Lakritzator

Description

@Lakritzator

This was my primary comment, which was for "MahApps.Metro.Resources", please read the second...

Just out of curiosity, after installing the "MahApps.Metro.Resources" nuget package, both Icons.xaml and IconsNonShared.xaml are active and compiled into the final .exe. This blows the size of a simple application with 2x 1MB. On top of that, I assume that only one of each icon is active... probably undefine which, is this behaviour known? I can't find much documentation on the IconsNonShared.xaml, besides in #2440 and it's not described somewhere I should manually disable this.

What steps will reproduce this issue?

Install MahApps.Metro.Resources nuget package 0.6.1, build application

Expected outcome

After compiling I want to have the icons once, this should increases the .exe size with ~1MB.

Environment

  • MahApps.Metro.Resources 0.6.1
  • Windows 7
  • Visual Studio 2015 Update 3
  • .NET Framework 4.6.1

I can live with it, just disabling the one I don't need, but there might be many people who don't notice what happened.

Thanks for the cool product.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions