Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAML decompiler - NotImplementedException: StaticResourceStart #206

Closed
dgrunwald opened this issue May 29, 2011 · 1 comment
Closed

BAML decompiler - NotImplementedException: StaticResourceStart #206

dgrunwald opened this issue May 29, 2011 · 1 comment
Assignees
Labels

Comments

@dgrunwald
Copy link
Member

Trying to decompile themes/generic.baml in PresentationUI, Version=4.0.0.0:

System.NotImplementedException: StaticResourceStart
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.ProcessNext()
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.ReadInternal()
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at ILSpy.BamlDecompiler.BamlResourceEntryNode.LoadIntoDocument(IAssemblyResolver resolver, AssemblyDefinition asm, Stream stream)
at ILSpy.BamlDecompiler.BamlResourceEntryNode.LoadBaml(AvalonEditTextOutput output)

@ghost ghost assigned siegfriedpammer May 29, 2011
@siegfriedpammer
Copy link
Member

StaticResourceStart is now implemented, but a new exception occurs:
System.ArgumentException: Cannot find StaticResource
Parameter name: identifier
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.GetStaticResource(Int16 identifier) in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\Ricciolo.StylesExplorer.MarkupReflection\XmlBamlReader.cs:line 1535
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.ReadPropertyWithStaticResourceIdentifier() in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\Ricciolo.StylesExplorer.MarkupReflection\XmlBamlReader.cs:line 1518
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.ProcessNext() in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\Ricciolo.StylesExplorer.MarkupReflection\XmlBamlReader.cs:line 477
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.ReadInternal() in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\Ricciolo.StylesExplorer.MarkupReflection\XmlBamlReader.cs:line 312
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.Read() in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\Ricciolo.StylesExplorer.MarkupReflection\XmlBamlReader.cs:line 291
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(XmlReader reader)
at ILSpy.BamlDecompiler.BamlResourceEntryNode.LoadIntoDocument(IAssemblyResolver resolver, AssemblyDefinition asm, Stream stream) in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\BamlResourceEntryNode.cs:line 61
at ILSpy.BamlDecompiler.BamlResourceEntryNode.LoadBaml(AvalonEditTextOutput output) in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\BamlResourceEntryNode.cs:line 52
at ILSpy.BamlDecompiler.BamlResourceEntryNode.<>c__DisplayClass3.b__1() in d:\Projects\SharpDevelop\ILSpy\ILSpy.BamlDecompiler\BamlResourceEntryNode.cs:line 36

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants