Thanks. I am trying to write a program that can 'attach' (probably using CLR
hosting) to a target process and then modify some behavior of a class in
.NET framework...
So I guess my only option is .NET profiling to do that..although it is so
complicated to deal with...is there any other library I can use?

Thanks again!
- lie


2008/12/5 Jb Evain <[EMAIL PROTECTED]>

>
> Hey,
>
> On 12/5/08, Lie Wang <[EMAIL PROTECTED]> wrote:
> >  I know I can read an assembly and modify some IL of it, and then load
> >  it using AssemblyFactory.CreateReflectionAssembly() method. However, I
> >  want to modify a type which is already loaded in. Is there any way to
> >  do that? For instance, I have the below code.
>
> No, you would have to open the modified assembly in a new AppDomain,
> then interact with it.
>
> --
> Jb Evain  <[EMAIL PROTECTED]>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to