{"action":"created","issue":{"url":"https://api.github.com/repos/ButchersBoy/MaterialDesignInXamlToolkit/issues/211","repository_url":"https://api.github.com/repos/ButchersBoy/MaterialDesignInXamlToolkit","labels_url":"https://api.github.com/repos/ButchersBoy/MaterialDesignInXamlToolkit/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/ButchersBoy/MaterialDesignInXamlToolkit/issues/211/comments","events_url":"https://api.github.com/repos/ButchersBoy/MaterialDesignInXamlToolkit/issues/211/events","html_url":"https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/issues/211","id":126668055,"number":211,"title":"Not working with MapApps.Metro 1.2.2.0?","user":{"login":"FrTerstappen","id":4691028,"avatar_url":"https://avatars.githubusercontent.com/u/4691028?v=3","gravatar_id":"","url":"https://api.github.com/users/FrTerstappen","html_url":"https://github.com/FrTerstappen","followers_url":"https://api.github.com/users/FrTerstappen/followers","following_url":"https://api.github.com/users/FrTerstappen/following{/other_user}","gists_url":"https://api.github.com/users/FrTerstappen/gists{/gist_id}","starred_url":"https://api.github.com/users/FrTerstappen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrTerstappen/subscriptions","organizations_url":"https://api.github.com/users/FrTerstappen/orgs","repos_url":"https://api.github.com/users/FrTerstappen/repos","events_url":"https://api.github.com/users/FrTerstappen/events{/privacy}","received_events_url":"https://api.github.com/users/FrTerstappen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-01-14T14:47:09Z","updated_at":"2016-09-07T12:46:06Z","closed_at":"2016-08-26T05:41:42Z","body":"I Just updated the MapApps.Metro to Version 1.2.2.0 and my app stoped working.\r\nThe last version working for me is 1.1.3-ALPHA266.\r\nI'm not 100% sure that this is a problem with this lib or with mahapps and i hope this is the right place.\r\n\r\nI get the following error:\r\n\r\n```\r\nSystem.Windows.Markup.XamlParseException occurred\r\n  HResult=-2146233087\r\n  LineNumber=0\r\n  LinePosition=0\r\n  Message=Beim Festlegen der Eigenschaft \"System.Windows.ResourceDictionary.DeferrableContent\" wurde eine Ausnahme ausgelöst.\r\n  Source=PresentationFramework\r\n  StackTrace:\r\n       bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)\r\n  InnerException: \r\n       FileName=MahApps.Metro, PublicKeyToken=null\r\n       FusionLog==== Zustandsinformationen vor Bindung ===\r\nLOG: DisplayName = MahApps.Metro, PublicKeyToken=null\r\n (Partial)\r\nWRN: Für eine Assembly wurden partielle Bindungsinformationen bereitgestellt:\r\nWRN: Assemblyname: MahApps.Metro, PublicKeyToken=null | Domänen-ID: 1\r\nWRN: Eine partielle Bindung tritt auf, wenn nur ein Teil des Assemblyanzeigenamens bereitgestellt wird.\r\nWRN: Dies führt möglicherweise dazu, dass die Sammelmappe eine falsche Assembly lädt.\r\nWRN: Geben Sie die Textidentität der Assembly mit allen Einzelheiten an. \r\nWRN: Dazu gehören der einfache Name, die Version und Kultur und das öffentliche Schlüsseltoken.\r\nWRN: Weitere Informationen und allgemeine Lösungen für dieses Problem finden Sie im Whitepaper unter \"http://go.microsoft.com/fwlink/?LinkId=109270\".\r\nLOG: Appbase = pathToApp\r\nLOG: Ursprünglicher PrivatePath = NULL\r\nAufruf von Assembly : PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.\r\n===\r\nLOG: Diese Bindung startet im default-Load-Kontext.\r\nLOG: Die Anwendungskonfigurationsdatei wird verwendet: pathToApp.vshost.exe.config\r\nLOG: Die Hostkonfigurationsdatei wird verwendet: \r\nLOG: Die Computerkonfigurationsdatei von C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\config\\machine.config wird verwendet.\r\nLOG: Die Richtlinie wird derzeit nicht auf den Verweis angewendet (private, benutzerdefinierte, teilweise oder pfadbasierte Assemblybindung)\r\nLOG: Download von neuem URL pathToApp/bin/Debug/MahApps.Metro.DLL.\r\nWRN: Der Vergleich des Assemblynamens führte zum Konflikt: PUBLIC KEY TOKEN.\r\nERR: Das Setup der Assembly konnte nicht abgeschlossen werden (hr = 0x80131040). Die Suche wurde beendet.\r\n\r\n       HResult=-2146234304\r\n       Message=Die Datei oder Assembly \"MahApps.Metro, PublicKeyToken=null\" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)\r\n       Source=mscorlib\r\n       StackTrace:\r\n            bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\r\n            bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\r\n            bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\r\n            bei System.Reflection.Assembly.Load(AssemblyName assemblyRef)\r\n            bei System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly)\r\n            bei System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlType bamlType)\r\n            bei System.Windows.Baml2006.Baml2006SchemaContext.GetClrType(Int16 typeId)\r\n            bei System.Windows.Baml2006.Baml2006Reader.Process_DefAttributeKeyType()\r\n            bei System.Windows.Baml2006.Baml2006Reader.ReadKeys()\r\n            bei System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent)\r\n            bei System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0(Object target, Object value)\r\n            bei System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)\r\n            bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)\r\n            bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)\r\n       InnerException: \r\n```"},"comment":{"url":"https://api.github.com/repos/ButchersBoy/MaterialDesignInXamlToolkit/issues/comments/245269136","html_url":"https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/issues/211#issuecomment-245269136","issue_url":"https://api.github.com/repos/ButchersBoy/MaterialDesignInXamlToolkit/issues/211","id":245269136,"user":{"login":"FrTerstappen","id":4691028,"avatar_url":"https://avatars.githubusercontent.com/u/4691028?v=3","gravatar_id":"","url":"https://api.github.com/users/FrTerstappen","html_url":"https://github.com/FrTerstappen","followers_url":"https://api.github.com/users/FrTerstappen/followers","following_url":"https://api.github.com/users/FrTerstappen/following{/other_user}","gists_url":"https://api.github.com/users/FrTerstappen/gists{/gist_id}","starred_url":"https://api.github.com/users/FrTerstappen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrTerstappen/subscriptions","organizations_url":"https://api.github.com/users/FrTerstappen/orgs","repos_url":"https://api.github.com/users/FrTerstappen/repos","events_url":"https://api.github.com/users/FrTerstappen/events{/privacy}","received_events_url":"https://api.github.com/users/FrTerstappen/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T12:46:06Z","updated_at":"2016-09-07T12:46:06Z","body":"I was able to locate the problem this line:\r\n\r\n`<ResourceDictionary Source=\"pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Defaults.xaml \" />`\r\n\r\nin my App.xaml.\r\n"}}
{"actor":{"display_login":"FrTerstappen"}}