Writing metadata in ilasm RRS feed

  • Question

  • I would like to write metadata in ilasm, for example attributes, Copyright, Product name, File description, language... . But even when I take a program with metadata unassemble it with ildasm, then re-assemble it, it does not create the metadata.
    Monday, January 7, 2013 1:15 AM


  • They're native Windows resources. .NET compiler is just clever enough to populate them from assembly attributes.

    When you disassemble your assembly, Ildasm should create a *.res file along with *.il. You may link it back with Ilasm specifying parameter /RESOURCE=xxx.res

    • Marked as answer by Jakeinc Wednesday, January 9, 2013 11:49 PM
    Tuesday, January 8, 2013 3:51 AM

All replies