I have multiple assemblies in solution. To be able to hotswap assemblies i call methods in logic assembly by InvokeMember, but anything that this assembly call from other assemblies doesn't return anything.
For some reason if i refer to unavailable assembly and call it before InvokeMember it works, and anything else doesn't. The goal is to split GUI, API and logic layers, and make them available for update on heavy proprietary software without restarting it every time.
Solved by loading all required assemblies in caller code.