I'm running into a problem after upgrading Material Design Themes from 3.1.3 to 3.2.0: an exception is thrown when creating a Material Window.
To re-create it I've created a new WPF project (VS 2019 16.8.1, .NET Framework 4.8):
Create the project.
Download the latest MDE package (3.2.0), which installs Material Design Themes 3.1.3 and MD Colors 1.2.6
Change the Window to a MaterialWindow: works OK.
Update MD Colors to 1.2.7 and MD Themes to 3.2.0
Project compiles but throws at runtime:
System.Windows.Markup.XamlParseException: 'Could not load file or assembly 'MaterialDesignThemes.Wpf, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
The Package Manager details for MDE seems to indicate that it should be compatible with 3.2.0:
The problem is fixed by referencing the new MaterialDesign versions inside the library, recompiling and replacing the DLL in the target dir:
I'm running into a problem after upgrading Material Design Themes from 3.1.3 to 3.2.0: an exception is thrown when creating a Material Window.
To re-create it I've created a new WPF project (VS 2019 16.8.1, .NET Framework 4.8):
System.Windows.Markup.XamlParseException: 'Could not load file or assembly 'MaterialDesignThemes.Wpf, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
The Package Manager details for MDE seems to indicate that it should be compatible with 3.2.0:
The problem is fixed by referencing the new MaterialDesign versions inside the library, recompiling and replacing the DLL in the target dir: