[Mono-dev] Adding Custom Attributes to Assembly
vijaya raghava mutharaju
m.vijayaraghava at gmail.com
Tue Feb 21 08:36:06 EST 2006
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 -
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list