Share via


EmitOptions.OutputNameOverride Property

Definition

Assembly name override - file name and extension. If not specified the compilation name is used.

public:
 property System::String ^ OutputNameOverride { System::String ^ get(); };
public string OutputNameOverride { get; }
public string? OutputNameOverride { get; }
member this.OutputNameOverride : string
Public ReadOnly Property OutputNameOverride As String

Property Value

Remarks

By default the name of the output assembly is AssemblyName. Only in rare cases it is necessary to override the name.

CAUTION: If this is set to a (non-null) value other than the existing compilation output name, then internals-visible-to and assembly references may not work as expected. In particular, things that were visible at bind time, based on the name of the compilation, may not be visible at runtime and vice-versa.

Applies to