DotNetAdapter.CacheAssemblyInfoEx
- Updated2026-02-03
- 1 minute(s) read
DotNetAdapter.CacheAssemblyInfoEx
Syntax
DotNetAdapter.CacheAssemblyInfoEx( assemblyLocationParam, assemblyPathParam, options)
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.
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.
options As long
[In] Specifies one or more DotNetAdapterCacheAssemblyInfoExOptions constants. Use the bitwise-OR operator to specify multiple flags.