You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's very difficult to modify BAML files. At the moment I export the raw BAML, edit in a hex editor, and then re-add to the resource bundle.
Proposal
A built in way to modify or re-assemble the BAML assembly generated by dnSpy would solve this problem and make editing BAML much more accessible
Alternatives
No response
Additional Context
To clarify, this is not to hoping to compile the decompiled XAML output, this is to reassemble the disassembled BAML dnSpy offers. I figure compiling the decompiled XAML output might not be possible
Additionally, if anyone has any other suggestions on editing compiled BAML, those suggestions would be much appreciated
The text was updated successfully, but these errors were encountered:
Editing the BAML record structure is definitely a feature I will consider. The major roadblock here would be designing an appropriate UX for this. If you have any suggestions for this, feel free to share! The actual part of writing BAML is already incorporated in the BAML decompiler component.
The way I had gone about doing my edits was adding a toJson and fromJson method to each of the record types, and exporting to an intermediary file. It's definitely not optimal but it did the trick for one of the things I wanted to do.
Something that would resolve references would be nice. Also incrementing values that need to be incremented when adding elements automatically would be nice.
Otherwise I'm not super familiar with BAML/XAML and wouldn't be able to give that many pointers
Problem Description
It's very difficult to modify BAML files. At the moment I export the raw BAML, edit in a hex editor, and then re-add to the resource bundle.
Proposal
A built in way to modify or re-assemble the BAML assembly generated by dnSpy would solve this problem and make editing BAML much more accessible
Alternatives
No response
Additional Context
To clarify, this is not to hoping to compile the decompiled XAML output, this is to reassemble the disassembled BAML dnSpy offers. I figure compiling the decompiled XAML output might not be possible
Additionally, if anyone has any other suggestions on editing compiled BAML, those suggestions would be much appreciated
The text was updated successfully, but these errors were encountered: