AssemblyBuilder.Location Property

Definition

Gets the location, in codebase format, of the loaded file that contains the manifest if it is not shadow-copied.

C#
public override string Location { get; }

Property Value

The location of the loaded file that contains the manifest. If the loaded file has been shadow-copied, the Location is that of the file before being shadow-copied.

Exceptions

This method is not currently supported.

The caller does not have the required permission.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)