为了试图夸大我的问题,我试图把问题 short到:
采用“团结”模式的Im,我有2个DLs:
- A .NET 3.5 assembly (acting as a COM client)
- A .NET 4.0 assembly (with an interface exposed via COM)
3.5 利用COM与4.0合作。 视像仪表象使用3.5组装,通过SxS型、GetTypeFromCLSID()或类型GetTypeFromProgID(我与SxStrace确认)装载4毫升,并且可以使用其功能刚好。 (窗户提到,它依赖4.0 DLL,通过一份显示,I m不登记COM DL。)
I m trying to use the .NET 4.0 DLL in Unity. Obviously I can t use it directly, since the current flavor of Mono that Unity uses only supports up to 3.5, thus I created the 3.5 assembly to be my middleman. I m able to use the 3.5 assembly fine in unity, but either of the Type methods I mentioned before throw NotImplementedException(s), as apparently they aren t supported by Unity (or rather, Mono), so I m at a loss.
任何想法?