This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
When using the Flow Diagram, we’re hitting an issue when starting our application where a FileNotFoundException is thrown during a LoadComponent operation. The exception message is: “Could not load file or assembly 'Mindscape.WpfDiagramming.Foundation.Aero, Version=1.0.473.11814, Culture=neutral, PublicKeyToken=c2e9c4ef235fd77f' or one of its dependencies. The system cannot find the file specified." As I don’t see an actual DLL for Mindscape.WpfDiagramming.Foundation.Aero included in the FlowDiagrams package, I’m wondering if this is a bug in the implementation, if we’re missing a reference to some other DLL, or if something else is amiss.
Some details:
1. I’ve included the rather lengthy stack trace at the bottom of this message, bolding the lines that seem interesting. 2. It’s worth noting that the component being loaded references a XAML file in its ResourceDictionary that includes a list of Merged Dictionaries. At the top of that list is an inclusion of the Mindscape.WpfDiagramming.FlowDiagrams’s FlowDiagramStyles. 3. It may also be helpful to know that our licenses.licx file includes: Mindscape.WpfDiagramming.Foundation.DiagramSurface, Mindscape.WpfDiagramming.Foundation, Version=1.0.473.11814, Culture=neutral, PublicKeyToken=c2e9c4ef235fd77f
Any help you can provide in explaining this issue and how to resolve it would be greatly appreciated.
Stack Trace:
mscorlib.dll!System.Reflection.Assembly.nLoad(System.Reflection.AssemblyName fileName, string codeBase, System.Security.Policy.Evidence assemblySecurity, System.Reflection.Assembly locationHint, ref System.Threading.StackCrawlMark stackMark, bool throwOnFileNotFound, bool forIntrospection) Line 1652 + 0x18 bytes C# mscorlib.dll!System.Reflection.Assembly.InternalLoad(System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity, ref System.Threading.StackCrawlMark stackMark, bool forIntrospection) Line 1590 + 0x16 bytes C# mscorlib.dll!System.Reflection.Assembly.InternalLoad(string assemblyString, System.Security.Policy.Evidence assemblySecurity, ref System.Threading.StackCrawlMark stackMark, bool forIntrospection) Line 1561 + 0x11 bytes C# mscorlib.dll!System.Reflection.Assembly.Load(string assemblyString) Line 470 + 0xd bytes C# PresentationFramework.dll!System.Windows.SystemResources.ResourceDictionaries.LoadExternalAssembly(bool classic, bool generic, out System.Reflection.Assembly assembly = null, out string assemblyName) Line 702 + 0x5 bytes C# PresentationFramework.dll!System.Windows.SystemResources.ResourceDictionaries.LoadThemedDictionary(bool isTraceEnabled = false) Line 558 C# PresentationFramework.dll!System.Windows.SystemResources.FindDictionaryResource(object key = {TargetType=Mindscape.WpfDiagramming.Foundation.MoveThumb ID=InvisibleStyle}, System.Type typeKey, System.Windows.ResourceKey resourceKey, bool isTraceEnabled = false, bool allowDeferredResourceReference = true, bool mustReturnDeferredResourceReference = true, out bool canCache = true) Line 306 + 0xd bytes C# PresentationFramework.dll!System.Windows.SystemResources.FindResourceInternal(object key = {TargetType=Mindscape.WpfDiagramming.Foundation.MoveThumb ID=InvisibleStyle}, bool allowDeferredResourceReference = true, bool mustReturnDeferredResourceReference) Line 174 + 0x23 bytes C# PresentationFramework.dll!System.Windows.FrameworkElement.FindResourceInternal(System.Windows.FrameworkElement fe = null, System.Windows.FrameworkContentElement fce = null, System.Windows.DependencyProperty dp, object resourceKey = {TargetType=Mindscape.WpfDiagramming.Foundation.MoveThumb ID=InvisibleStyle}, object unlinkedParent, bool allowDeferredResourceReference, bool mustReturnDeferredResourceReference, System.Windows.DependencyObject boundaryElement, bool isImplicitStyleLookup = false, out object source = null) Line 1031 + 0x10 bytes C# PresentationFramework.dll!MS.Internal.Helper.FindResourceFromAppOrSystem(object resourceKey, out object source, bool disableThrowOnResourceNotFound, bool allowDeferredResourceReference, bool mustReturnDeferredResourceReference) Line 59 + 0x27 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.FindResourceInRootOrAppOrTheme(object resourceNameObject, bool allowDeferredResourceReference, bool mustReturnDeferredResourceReference) Line 4227 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.FindResourceInParentChain(object resourceNameObject = {TargetType=Mindscape.WpfDiagramming.Foundation.MoveThumb ID=InvisibleStyle}, bool allowDeferredResourceReference, bool mustReturnDeferredResourceReference = true) Line 4259 + 0x1e bytes C# PresentationFramework.dll!System.Windows.ResourceDictionary.SetStaticResources(object[] staticResourceValues = {object[9]}, System.Windows.Markup.ParserContext context = {System.Windows.Markup.ParserContext}) Line 1128 + 0x4d bytes C# PresentationFramework.dll!System.Windows.ResourceDictionary.SetKeys(System.Collections.ArrayList keyCollection = Count = 77, System.Collections.Generic.List<object[]> staticResourceValuesList = Count = 77, System.Windows.Markup.ParserContext context = {System.Windows.Markup.ParserContext}) Line 1079 C# PresentationFramework.dll!System.Windows.ResourceDictionary.SetDeferableContent(byte[] buffer, System.Windows.Markup.ParserContext context, object rootElement, System.Collections.ArrayList keyCollection, System.Collections.Generic.List<object[]> staticResourceValuesList) Line 995 + 0xffffff03 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadDeferableContentStart(System.Windows.Markup.BamlDeferableContentStartRecord bamlRecord) Line 1770 + 0xffffffc3 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 762 + 0x22 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# > PresentationFramework.dll!System.Windows.Application.LoadComponent(object component, System.Uri resourceLocator) Line 535 C# Mindscape.WpfDiagramming.FlowDiagrams.dll!Mindscape.WpfDiagramming.FlowDiagrams.Styles.GradientStyle.InitializeComponent() + 0x5d bytes Mindscape.WpfDiagramming.FlowDiagrams.dll!Mindscape.WpfDiagramming.FlowDiagrams.Styles.GradientStyle.GradientStyle() + 0x26 bytes [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.RuntimeType.CreateInstanceSlow(bool publicOnly, bool fillCache = true) Line 4276 + 0x18 bytes C# mscorlib.dll!System.Activator.CreateInstance(System.Type type, bool nonPublic) Line 177 + 0x19 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(System.Type type = {Name = "GradientStyle" FullName = "Mindscape.WpfDiagramming.FlowDiagrams.Styles.GradientStyle"}, short typeId, bool throwOnFail = false) Line 5408 + 0x14 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.GetElementAndFlags(System.Windows.Markup.BamlElementStartRecord bamlElementStartRecord, out object element = null, out System.Windows.Markup.ReaderFlags flags = Unknown, out System.Type delayCreatedType, out short delayCreatedTypeId) Line 897 + 0xc bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord = {ElementStart typeId=2}) Line 1066 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord) Line 1205 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 647 + 0x22 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadComponent(object component, System.Uri resourceLocator) Line 535 C# Mindscape.WpfDiagramming.FlowDiagrams.dll!Mindscape.WpfDiagramming.FlowDiagrams.Styles.FlowDiagramStyles.InitializeComponent() + 0x5d bytes Mindscape.WpfDiagramming.FlowDiagrams.dll!Mindscape.WpfDiagramming.FlowDiagrams.Styles.FlowDiagramStyles.FlowDiagramStyles() + 0x26 bytes [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.RuntimeType.CreateInstanceSlow(bool publicOnly, bool fillCache = true) Line 4276 + 0x18 bytes C# mscorlib.dll!System.Activator.CreateInstance(System.Type type, bool nonPublic) Line 177 + 0x19 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(System.Type type = {Name = "FlowDiagramStyles" FullName = "Mindscape.WpfDiagramming.FlowDiagrams.Styles.FlowDiagramStyles"}, short typeId, bool throwOnFail = false) Line 5408 + 0x14 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.GetElementAndFlags(System.Windows.Markup.BamlElementStartRecord bamlElementStartRecord, out object element = null, out System.Windows.Markup.ReaderFlags flags = Unknown, out System.Type delayCreatedType, out short delayCreatedTypeId) Line 897 + 0xc bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord = {ElementStart typeId=0}) Line 1066 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord) Line 1205 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 647 + 0x22 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream stream, System.Windows.Markup.ParserContext pc) Line 660 + 0xe bytes C# PresentationFramework.dll!MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(System.IO.Stream stream, System.Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out System.Windows.Markup.XamlReader asyncObjectConverter) Line 68 + 0x9 bytes C# PresentationFramework.dll!MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(System.IO.Stream s, MS.Internal.ContentType contentType, System.Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out System.Windows.Markup.XamlReader asyncObjectConverter) Line 51 + 0x26 bytes C# PresentationFramework.dll!System.Windows.ResourceDictionary.Source.set(System.Uri value) Line 153 + 0x15 bytes C# [Native to Managed Transition] [Managed to Native Transition] PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.SetPropertyValue(object o = {System.Windows.ResourceDictionary}, System.Windows.Markup.PropertyDefinition propertyDefinition, object value = {TransformationEditorRegistration.xaml}) Line 2612 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(string attribValue = "TransformationEditorRegistration.xaml", short attributeId, short converterTypeId) Line 2820 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(System.Windows.Markup.BamlPropertyWithConverterRecord bamlPropertyRecord) Line 2341 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 698 + 0x25 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadComponent(object component, System.Uri resourceLocator) Line 535 C# DataflowVisualizer.dll!DataflowVisualizer.GradientStyle.InitializeComponent() Line 1 + 0xb bytes C# DataflowVisualizer.dll!DataflowVisualizer.GradientStyle.GradientStyle() Line 20 + 0x8 bytes C# [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.RuntimeType.CreateInstanceSlow(bool publicOnly, bool fillCache = true) Line 4276 + 0x18 bytes C# mscorlib.dll!System.Activator.CreateInstance(System.Type type, bool nonPublic) Line 177 + 0x19 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(System.Type type = {Name = "GradientStyle" FullName = "DataflowVisualizer.GradientStyle"}, short typeId, bool throwOnFail = false) Line 5408 + 0x14 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.GetElementAndFlags(System.Windows.Markup.BamlElementStartRecord bamlElementStartRecord, out object element = null, out System.Windows.Markup.ReaderFlags flags = Unknown, out System.Type delayCreatedType, out short delayCreatedTypeId) Line 897 + 0xc bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord = {ElementStart typeId=0}) Line 1066 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord) Line 1205 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 647 + 0x22 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream stream, System.Windows.Markup.ParserContext pc) Line 660 + 0xe bytes C# PresentationFramework.dll!MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(System.IO.Stream stream, System.Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out System.Windows.Markup.XamlReader asyncObjectConverter) Line 68 + 0x9 bytes C# PresentationFramework.dll!MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(System.IO.Stream s, MS.Internal.ContentType contentType, System.Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out System.Windows.Markup.XamlReader asyncObjectConverter) Line 51 + 0x26 bytes C# PresentationFramework.dll!System.Windows.ResourceDictionary.Source.set(System.Uri value) Line 153 + 0x15 bytes C# [Native to Managed Transition] [Managed to Native Transition] PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.SetPropertyValue(object o = {System.Windows.ResourceDictionary}, System.Windows.Markup.PropertyDefinition propertyDefinition, object value = {GradientStyle.xaml}) Line 2612 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase(string attribValue = "GradientStyle.xaml", short attributeId, short converterTypeId) Line 2820 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord(System.Windows.Markup.BamlPropertyWithConverterRecord bamlPropertyRecord) Line 2341 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 698 + 0x25 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadComponent(object component, System.Uri resourceLocator) Line 535 C# DataflowVisualizer.dll!DataflowVisualizer.DataflowDiagramViewer.InitializeComponent() Line 1 + 0xb bytes C# DataflowVisualizer.dll!DataflowVisualizer.DataflowDiagramViewer.DataflowDiagramViewer() Line 120 + 0x8 bytes C# [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.RuntimeType.CreateInstanceSlow(bool publicOnly, bool fillCache = true) Line 4276 + 0x18 bytes C# mscorlib.dll!System.Activator.CreateInstance(System.Type type, bool nonPublic) Line 177 + 0x19 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(System.Type type = {Name = "DataflowDiagramViewer" FullName = "DataflowVisualizer.DataflowDiagramViewer"}, short typeId, bool throwOnFail = false) Line 5408 + 0x14 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.GetElementAndFlags(System.Windows.Markup.BamlElementStartRecord bamlElementStartRecord, out object element = null, out System.Windows.Markup.ReaderFlags flags = Unknown, out System.Type delayCreatedType, out short delayCreatedTypeId) Line 897 + 0xc bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord = {ElementStart typeId=4}) Line 1066 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord) Line 1205 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 647 + 0x22 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadComponent(object component, System.Uri resourceLocator) Line 535 C# Mist.exe!Mist.Editors.PackageEditor.InitializeComponent() Line 1 + 0xb bytes C# Mist.exe!Mist.Editors.PackageEditor.PackageEditor() Line 18 + 0x8 bytes C# Mist.exe!Mist.PageNavigatorFrame.PageNavigatorFrame() Line 34 + 0xf4 bytes C# [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.RuntimeType.CreateInstanceSlow(bool publicOnly, bool fillCache = true) Line 4276 + 0x18 bytes C# mscorlib.dll!System.Activator.CreateInstance(System.Type type, bool nonPublic) Line 177 + 0x19 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(System.Type type = {Name = "PageNavigatorFrame" FullName = "Mist.PageNavigatorFrame"}, short typeId, bool throwOnFail = false) Line 5408 + 0x14 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.GetElementAndFlags(System.Windows.Markup.BamlElementStartRecord bamlElementStartRecord, out object element = null, out System.Windows.Markup.ReaderFlags flags = Unknown, out System.Type delayCreatedType, out short delayCreatedTypeId) Line 897 + 0xc bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord = {ElementStart typeId=82}) Line 1066 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord) Line 1205 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 647 + 0x22 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadComponent(object component, System.Uri resourceLocator) Line 535 C# Mist.exe!Mist.Window1.InitializeComponent() Line 1 + 0xb bytes C# Mist.exe!Mist.Window1.Window1() Line 62 + 0x8 bytes C# [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.RuntimeType.CreateInstanceSlow(bool publicOnly, bool fillCache = true) Line 4276 + 0x18 bytes C# mscorlib.dll!System.Activator.CreateInstance(System.Type type, bool nonPublic) Line 177 + 0x19 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(System.Type type = {Name = "Window1" FullName = "Mist.Window1"}, short typeId, bool throwOnFail = false) Line 5408 + 0x14 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.GetElementAndFlags(System.Windows.Markup.BamlElementStartRecord bamlElementStartRecord, out object element = null, out System.Windows.Markup.ReaderFlags flags = Unknown, out System.Type delayCreatedType, out short delayCreatedTypeId) Line 897 + 0xc bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord = {ElementStart typeId=0}) Line 1066 + 0x1a bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(System.Windows.Markup.BamlElementStartRecord bamlElementRecord) Line 1205 C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.ReadRecord(System.Windows.Markup.BamlRecord bamlRecord) Line 647 + 0x22 bytes C# PresentationFramework.dll!System.Windows.Markup.BamlRecordReader.Read(bool singleRecord = false) Line 405 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() Line 148 C# PresentationFramework.dll!System.Windows.Markup.TreeBuilder.Parse() Line 70 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Line 722 + 0x7 bytes C# PresentationFramework.dll!System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream stream, System.Windows.Markup.ParserContext pc) Line 660 + 0xe bytes C# PresentationFramework.dll!System.Windows.Application.LoadComponent(System.Uri resourceLocator, bool bSkipJournaledProperties) Line 612 + 0xffffffc1 bytes C# PresentationFramework.dll!System.Windows.Application.DoStartup() Line 1668 + 0x11 bytes C# PresentationFramework.dll!System.Windows.Application..ctor.AnonymousMethod(object unused) Line 194 C# WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback = {Method = {System.Object <.ctor>b__0(System.Object)}}, object args = null, bool isSingleParameter = true) Line 91 + 0x2d bytes C# WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler = null) Line 21 + 0x15 bytes C# WindowsBase.dll!System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler) Line 2277 + 0x29 bytes C# WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Line 355 + 0x18 bytes C# WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Line 337 C# mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) Line 396 C# [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 373 C# mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 361 C# WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Line 293 + 0x21 bytes C# WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Line 1541 C# WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Line 1779 C# WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd = 2431404, int msg = 49637, System.IntPtr wParam = 0, System.IntPtr lParam = 0, ref bool handled = false) Line 342 + 0x15 bytes C# WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Line 496 + 0x18 bytes C# WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback = {Method = {System.Object DispatcherCallbackOperation(System.Object)}}, object args = {MS.Win32.HwndSubclass.DispatcherOperationCallbackParameter}, bool isSingleParameter = true) Line 91 + 0x2d bytes C# WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler = null) Line 21 + 0x15 bytes C# WindowsBase.dll!System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler) Line 2277 + 0x29 bytes C# WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, bool isSingleParameter) Line 843 + 0x30 bytes C# WindowsBase.dll!System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority priority, System.Delegate method, object arg) Line 599 + 0x30 bytes C# WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd = 2431404, int msg = 49637, System.IntPtr wParam = 0, System.IntPtr lParam = 0) Line 400 C# [Native to Managed Transition] [Managed to Native Transition] WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame = {System.Windows.Threading.DispatcherFrame}) Line 1597 + 0x35 bytes C# WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame frame) Line 335 C# WindowsBase.dll!System.Windows.Threading.Dispatcher.Run() Line 294 C# PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) Line 2704 C# PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) Line 1851 C# PresentationFramework.dll!System.Windows.Application.Run(System.Windows.Window window) Line 260 + 0x9 bytes C# PresentationFramework.dll!System.Windows.Application.Run() Line 221 + 0x13 bytes C# Mist.exe!Mist.App.Main() + 0x5e bytes C# [Native to Managed Transition] [Managed to Native Transition] mscorlib.dll!System.AppDomain.ExecuteAssembly(string assemblyFile, System.Security.Policy.Evidence assemblySecurity, string[] args) Line 931 + 0x1f bytes C# Microsoft.VisualStudio.HostingProcess.Utilities.dll!Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() + 0x2b bytes mscorlib.dll!System.Threading.ThreadHelper.ThreadStart_Context(object state) Line 61 + 0xffffffe3 bytes C# mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 355 + 0xd bytes C# mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() Line 88 + 0xffffffe4 bytes C# |
|
|
There's no Aero themes DLL, nor any Aero-specific themes, so I'm not sure what's going on here, and it's not something we've seen on machines using the Aero theme. Is it possible for you to strip this back to a minimal repro case? Is this something that has just started happening (and is associated with a particular code change or new piece of code), or is it something that may always have been the case but has only appeared in a new environment? Are you using the PresentationFramework.Aero trick to load an Aero-specific theme? If so, does removing that reference help? |
|