-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Unable to view baml files in WF4 dll's resources #298
Comments
Okay! I found my own way to get baml files to convert xaml files:
This should be enough though; however, it will still not going to work for xaml files containing "Grid"; because it gives the following error: If you get this error then you should also do the following;
Finally this is definately working B~). |
I can not view the baml files in System.Activities.Core.Presentation.dll's resources. Especially, the ones that are ActivityDesigner's. An example resource key for your trial is "system/activities/core/presentation/ifelsedesigner.baml".
When I try to view the baml resource it's giving me the following exception text:
System.NotSupportedException: Type 'System.Activities.Presentation.ActivityDesigner, System.Activities.Presentation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not found!
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.GetKnownTypeDeclarationByName(String name)
at Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader.ReadElementStart()
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)
at ILSpy.BamlDecompiler.BamlResourceEntryNode.<>c__DisplayClass3.b__1()
However, System.Activities.Presentation.dll was already included in ILSpy and it is resolved successfully.
The text was updated successfully, but these errors were encountered: