On Nov 2, 4:56 am, "Lotfi Gheribi" <[EMAIL PROTECTED]> wrote:
>            // Remove any strong name references
>
> >            var module = sourceAssembly.MainModule;
> >            foreach(AssemblyNameReference reference in
> > module.AssemblyReferences)
> >            {
> >                reference.PublicKeyToken = new byte[0];
> >            }
>
> Why are you removing all strong name signatures of all assemblies referenced
> by this module?

It was just test code--I wanted to see if that had any effect on the
strong name signature itself since I was running out of ideas.

Anyway, back to the original question--is there something missing
here, or is the code in the RemoveStrongName() method all I need to
use to strip an assembly of its strong name?

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

Reply via email to