punker76 / MahApps.Metro.SimpleChildWindow

A simple child window for MahApps.Metro
MIT License
374 stars 55 forks source link

Mahapps.Metro.SimpleChildWindow Nugget Package Issue #118

Closed JustForFunDeveloper closed 4 years ago

JustForFunDeveloper commented 4 years ago

I'm not quite sure where but there seems to be an issue with an assembly reference when using the SimpleChildWindow Nugget Package.

Steps to reproduce:

  1. Clean WPF .Net Project (4.7.2)
  2. Install MahApps.Metro Nugget Package and use just a MetroWindow as main window.
  3. Install MahApps.SimpleChildWindow Nugget Package and define a ChildWindow in xaml. (There is no need to do anthing in the code behind.)

It will throw the following exception as soon

this.InitializeComponent();

is called.

AssemblyProblem

If i uninstall the SimpleChildWindow Nugget Package and reference just the library it will work fine.

timunie commented 4 years ago

Hi @JustForFunDeveloper

Can you uplaod your sample or send the version numbers of your packages?

Thank you and happy coding Tim

JustForFunDeveloper commented 4 years ago

Here the version numbers as well my sample code.

Versions

Sampleproject: SimpleChildTest.zip

timunie commented 4 years ago

Oh I see. There is a prerelease v2.0.0 available. The version 1.5 only works with MahApps v1.6.5

JustForFunDeveloper commented 4 years ago

Ahhhh i get it now ... that's the reason why my compiled library worked. Didn't see that i had already the prerelease.

By the way ... where would i be able to see that this package is only working until 1.6.5?

Thank you very much! I guess we can close this issue now.