Assembly.GlobalAssemblyCache Eigenschaft

Definition

Achtung

The Global Assembly Cache is not supported.", DiagnosticId="SYSLIB0005", UrlFormat="https://aka.ms/dotnet-warnings/{0}

Ruft einen Wert ab, der angibt, ob die Assembly aus dem globalen Assemblycache geladen wurde (nur .NET Framework).

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

Eigenschaftswert

Boolean

.NET Framework nur: true , wenn die Assembly aus dem globalen Assemblycache geladen wurde, andernfalls false .

.NET Core und .NET 5 und höher: false in allen Fällen.

Implementiert

Attribute

Hinweise

Diese Eigenschaft wird ab .NET 5 als veraltet markiert und generiert eine Warnung zur Kompilierzeit.

Gilt für: