Win32VersionResource version_res;
bool created;
bool is_module_only;
+ private Mono.Security.StrongName sn;
[MethodImplAttribute(MethodImplOptions.InternalCall)]
private static extern void basic_init (AssemblyBuilder ab);
// contain the hash of the other modules
mainModule.Save ();
+ // if not delayed then we directly strongname the assembly
+ if ((sn != null) && (!delay_sign)) {
+ sn.Sign (System.IO.Path.Combine (this.AssemblyDir, assemblyFileName));
+ }
+
created = true;
}
string attrname = customBuilder.Ctor.ReflectedType.FullName;
byte[] data;
int len, pos;
- Mono.Security.StrongName sn;
+
if (attrname == "System.Reflection.AssemblyVersionAttribute") {
version = create_assembly_version (customBuilder.string_arg ());
return;
+2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
+
+ * AssemblyBuilder.cs: Save will now strongname the assembly is (a) a
+ StrongName is present and (b) the signature isn't delayed.
+
2004-01-24 David Sheldon <dave-mono@earth.li>
* AssemblyBuilder.cs: Added override for GetFiles() that throws