DotNetModule.AllowUnload
- Updated2026-02-03
- 1 minute(s) read
DotNetModule.AllowUnload
Syntax
DotNetModule.AllowUnload
Data Type
Purpose
When AllowUnload is true (default), the assemblies specified in the module are loaded into a collectible AssemblyLoadContext and can be unloaded by calling UnloadAllModules. When AllowUnload is false, the assemblies are not loaded into a collectible AssemblyLoadContext and can't be unloaded. C++/CLI (mixed mode assemblies) can't be loaded into a collectible AssemblyLoadContext. Setting this option to false allows TestStand to load and run C++/CLI assemblies from a .NET module.