Bernhard Richter
Bernhard Richter
@hrumhurum I think `Assembly.LoadFrom` was one of the scenarios where interception did not work.
@hrumhurum I have a branch here that runs all tests in isolated load context. It is just one failing test (ShouldHandlePackageWithNativeLibraries). It is a test that also loads native dll's...
Thanks ❤️
Answered here https://github.com/dotnet-script/dotnet-script/issues/737#issuecomment-1745735931
We will include this feature as part of the upcoming release. #694
Closed by #694
I am hitting something similar trying to execute a benchmark from a C# script where the underlying generated assembly for the script has no location. ``` System.AggregateException: One or more...
Could you include a repro of what you are trying to do?
Would environment variables be an option?
Sorry for the very late reply. The reason for this was that most users use LightInject as a drop-in replacement for the built-in container from Microsoft. Overriding services is in...