Hey,

On 10/30/08, hufman <[EMAIL PROTECTED]> wrote:
>  i want to change mscorlib classes on .net and change an application so
>  that if it uses a class from mscorlib now it will use the same class
>  but from the changed assembly

You sure can instrument the mscorlib assembly, but by instrumenting
it, you'll break its strong name.

So unless you have Microsoft's private key to sign the modified
assembly, you don't be able to use it.

Maybe if you replace the original mscorlib.dll by the instrumented one
in %windows%\Microsoft.Net\Framework\vX\mscorlib.dll and register it
to skip its verification (by using sn -Vu), it may work. But it has
never been tested afaik.

-- 
Jb Evain  <[EMAIL PROTECTED]>

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

Reply via email to