Questions tagged [applicationloadcontext]
1 questions
1
vote
0 answers
.NET 6.0/7.0: How to force garbage collection of local variables?
[PURPOSE]
I need to use reflections to
Load an assembly into a separate ApplicationLoadContext
Create a type from it
Create an instance from the type
Invoke functions on the instance repeatedly
After some time, perhaps days, when this assembly is…
user788454