09-02-2025 07:20 AM
Hello,
We are migrating our code from TS2019 to 2025 and .net4.8 to .net8
From what I noticed teststand is using 'TSExecutionAssemblyLoadContext' for all code that user executes in sequence.
We call some WPF forms and those require isCollectible flag to be set to false in order to work properly.
Is there a way to modify this flag for TSExecutionAssemblyLoadContext??
Alternative would be to load all wpf code dynamically like a plugin approach in another context? This will lead to cross context issues when i need to pass some class to my wpf UI in sequence logic?
Solved! Go to Solution.
09-03-2025 12:22 AM
In the newer version of TestStand where you can use .NET 8, there is a new option to load modules in a context where isCollectible is false. Recommend to use it.
To use the option, do the following:
-Shashidhar
09-03-2025 01:28 AM
Thx, this allowed us to solve the issue!