rodtan;12907 wrote:Yes, 'Copy referenced assemblies to workspace' is set to true for all projects.
Thanks for confirming this.
Where we've experienced it before, this problem has been tied to the structure of the relevant .deps file inside your project's build output directory. Normally, this .deps file should specify the dependencies that sit under the DependencyContext. We do quite a bit of processing on the file to allow us to compartmentalise the build system but still have the runtime environment behave more or less the same as it would normally.
The unfortunate problem with the dependency structure detailed in this file is that it's extremely complex, to the point where without a scenario demonstrating the problem, we really have no hope of being able to track it down or resolve it.
If you're able to build a sample solution to reproduce the issue you're seeing here, I should be able to pull things apart and figure it out. You're welcome to submit small test solutions
through the NCrunch contact form.