Hi jb! At the moment, I'm trying to remove the strong name from a strongly named assembly. the code i use is the following:
module.Assembly.Name.HasPublicKey = false; module.Assembly.Name.PublicKey = new byte[0]; module.Assembly.Name.PublicKeyToken = new byte[0]; module.Assembly.Name.HashAlgorithm = AssemblyHashAlgorithm.None; module.Assembly.Name.Attributes &= ~AssemblyAttributes.PublicKey; module.Assembly.Name.IsSideBySideCompatible = true; module.Write (fileName); but when i peverify the assembly, it gives me the following error: Failed to verify assembly -- Assembly 'myassembly.dll' is missing the required strong name. am i missing something? do i have to remove or set anything else? thanks, raph. -- -- mono-cecil
