https://bugs.winehq.org/show_bug.cgi?id=37751
--- Comment #14 from Vincent Povirk madewokherd@gmail.com --- It has an application base set. Mono has code to search this directory, and it's being called before our hook:
Mono: Config attempting to parse: 'C:\windows\Microsoft.NET\Framework\v4.0.30319\CONFIG\machine.config'. Mono: Domain mscorlib.dll search path is: Mono: path[0] = 'C:\windows\temp{14CEF1F0-C554-4324-B398-D0E748F47C7A}.cr' Mono: End of domain mscorlib.dll search path. 002d:trace:mscoree:mono_assembly_preload_hook_fn "BootstrapperCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad"
But the hook is searching .cr when it needs to be searching .ba, because it was called in the wrong domain. That suggests corruntimehostex_CreateDomainEx isn't actually returning an interface to the domain it creates?