DotNetAdapter.CacheAssemblyInfo

Syntax

DotNetAdapter.CacheAssemblyInfo( assemblyLocationParam, assemblyPathParam)

Purpose

Reads the specified assembly and caches type information for later use in TestStand. This method also reads and caches types and assemblies this assembly references. If a cached assembly changes, TestStand detects the change and updates the cache.

Note

Starting with TestStand 2024 Q4, loading assemblies from the Global Assembly Cache (GAC) is no longer supported.

Parameters

assemblyLocationParam As DotNetModuleAssemblyLocations

[In] Specifies whether the assembly is located in a file or in the Global Assembly Cache (GAC).

assemblyPathParam As String

[In] Specifies the pathname of the assembly.