A
avnrao
I have a requirement in C# using Reflection..but I am not sure if that is
possible. If possible, please guide me on how to proceed on it.
Requirement is : I have a dll named x.dll. I would like to programmatically
add some piece of code to all of the methods in that dll, and save it. I
have created assemblies on the fly, but never found a way to modify an
existing assembly.
System.CodeDom provides a way to create assemblies and everything newly..
but how do i use CodeDom for the existing assemblies. Existing meaning, I
want to open an assembly, find out a method and add some code to the
method..programmatically.
pls help..
possible. If possible, please guide me on how to proceed on it.
Requirement is : I have a dll named x.dll. I would like to programmatically
add some piece of code to all of the methods in that dll, and save it. I
have created assemblies on the fly, but never found a way to modify an
existing assembly.
System.CodeDom provides a way to create assemblies and everything newly..
but how do i use CodeDom for the existing assemblies. Existing meaning, I
want to open an assembly, find out a method and add some code to the
method..programmatically.
pls help..