Hi,
On Thu, Dec 23, 2010 at 3:51 AM, ayke <[email protected]> wrote:
> [assembly: AssemblyTitle("")]
> [assembly: AssemblyDescription("")]
> [assembly: AssemblyConfiguration("")]
> [assembly: AssemblyCompany("")]
> [assembly: AssemblyProduct("")]
> [assembly: AssemblyCopyright("")]
> [assembly: AssemblyTrademark("")]
AssemblyDefinition assembly = ...;
foreach (CustomAttribute attribute in assembly.CustomAttributes) {
if (attribute.AttributeType.Name == "AssemblyTitleAttribute") {
attribute.ConstructorArguments [0] = new CustomAttributeArgument (
assembly.MainModule.TypeSystem.String,
"New title");
}
}
> [assembly: AssemblyCulture("")]
That's part of the assembly name:
assembly.Name.Culture.
Jb
--
--
mono-cecil