First of all, excellent project!
I am having the same issue as described here, I'm getting a XamlParseException.
I debugged and found that AsmZResolver.TryLoadAssembly sometimes gets a resourceName like "EntityFramework.SqlServerCompact" or "MahApps.Metro, Culture=neutral" and this cannot be found in the ResourceNames dictionary, therefore loading
I've verified this by adding following switch statement to the TryLoadAssembly method. After this, there is no longer an exception and the program works.
=>The bug in libz is that AppDomain.CurrentDomain.AssemblyResolve may pass an assembly name which is not fully qualified and libz does not handle it.
private static Assembly TryLoadAssembly(string resourceName)
case "MahApps.Metro, Culture=neutral":
resourceName = "MahApps.Metro, Version=0.14.0.0, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f";
resourceName = "EntityFramework.SqlServerCompact, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089";