I'm trying to build one of the simple
EventBus libraries from
Github and import them into
Unity. Here are the libs:
It's that simple - I take the source code, build it through the
VS2015 and place the
.dll into the
Then, I have no way to use the lib's namespace (
Unity doesn't read the file).
Both of these libraries are written in
NET 3 or 4 and this is the failure's reason.
I've recompiled the second one (removed the
System.Linq code, changed the project's version) to
NET 2.0 and it worked, but that's not the point. I need the first library and it ain't easy to rewrite the entire
4.0 code to
As I remember, you can use
Unity (at least, I did it once). This means that
Unity uses some kind of trickery/magic, as always.
What's the problem here? Is there any way to get this working?