PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Manifest­Declaration Class / Assembly­Manifest­Declaration Properties / Assembly­Manifest­Declaration.​Overwritten­Name Property

AssemblyManifestDeclaration.OverwrittenName Property

Name of the assembly as it will be emitted during compilation.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public string OverwrittenName { get; set; }

Property Value

Type: String
A valid name, or null if the name is not overwritten.
Remarks

Overwriting an assembly name allows to change the name of the compiled assembly without breaking references in the current domain (because changing the Name would make it impossible to resolve assembly references).

When the name is overwritten, the public key is automatically ignored during compilation.

See Also