Hello,

            I want to add custom attributes to an existing assembly. I want to do the following steps.

                     1)  Refer the class MyAttribute which is in the assembly MyAssembly.exe, so that I can import into the current assembly - AnotherAssembly.exe
                      2)  Add this attribute (MyAttribute constructor with proper arguments) on top of some of the classes in AnotherAssembly.exe which is the one that is to be modified.
                      3) Save it back to disk - I know AssemblyDefinition.SaveAssembly() can be used for that.


           Please can you tell me how these steps can be done using Mono.Cecil.             

           Thank you.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to