Hey,

That looks like a Cecil issue indeed, I'll investigate.

On 11/5/08, Lotfi Gheribi <[EMAIL PROTECTED]> wrote:
>
>
> > Try this:
> >
> >        AssemblyNameReference anr;
> >                ...
> >                anr.Flags &= ~AssemblyFlags.PublicKey;
> >                anr.HashAlgorithm = AssemblyHashAlgorithm.None;
> >                anr.PublicKey = null;
> >
>
> Works on Mono but doesn't seem to work for the .Net :(
>
> The unsigned resulting assembly doesn't load and does not pass the PEVerify
> (I get the message "File not found or has bad headers.")
>
> I tried to disassemble/reassemble the assembly using ILDASM/ILASM... the
> resulting assembly DOES work !!!!
>
>
>
>  >
>


-- 
Jb Evain  <[EMAIL PROTECTED]>

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

Reply via email to