AssemblyBuilder.GlobalAssemblyCache Property

Definition

Caution

The Global Assembly Cache is not supported.

Gets a value that indicates whether the assembly was loaded from the global assembly cache.

public:
 virtual property bool GlobalAssemblyCache { bool get(); };
[System.Obsolete("The Global Assembly Cache is not supported.", DiagnosticId="SYSLIB0005", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public override bool GlobalAssemblyCache { get; }
public override bool GlobalAssemblyCache { get; }
[<System.Obsolete("The Global Assembly Cache is not supported.", DiagnosticId="SYSLIB0005", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.GlobalAssemblyCache : bool
member this.GlobalAssemblyCache : bool
Public Overrides ReadOnly Property GlobalAssemblyCache As Boolean

Property Value

Always false.

Attributes

Remarks

AssemblyBuilder objects always represent dynamic assemblies, and therefore are never loaded from the global assembly cache.

Applies to