Advanced Settings Window

Click the Advanced Settings button on the .NET Module tab of the Step Settings pane in the TestStand Sequence Editor or on the Module tab of the Edit .NET Call dialog box in a TestStand User Interface to launch the Advanced Settings window, which contains the following option:

  • Use Step Load/Unload Options to Specify Object Creation and Lifetime —Controls the lifetime of the root object the step creates. When you do not set this option, the step creates the object when the step begins and the step releases the internal reference of the step to the object when the step completes. When you enable this option, the step creates the object when the step loads according to the Load option of the step and holds an internal reference to the object until the step unloads according to the Unload option of the step.
  • Allow unload of the assemblies specified in the step — The .Net adapter loads the assemblies specified in the step into a collectible AssemblyLoadContext so they can be unloaded if required. .NET Core doesn't support loading C++/CLI (mixed-mode) assemblies into collectible AssemblyLoadContexts. To allow loading C++/CLI assemblies in a .NET step, uncheck this option.
Note When you enable the "Use Step Load/Unload Options to Specify Object Creation and Lifetime" option, the first thread that executes the step will instantiate the root object the step creates. All other threads that execute while the root object is not null will use the root object instance, not a new instance.

See Also

Edit .NET Call dialog box

.NET Module Tab