Closed robertmclaws closed 3 years ago
I was facing an similiar bug. (see https://github.com/castleproject/Core/issues/585) As of current, the fixing pull request is not yet reflected in a released version. Perhaps you would try out a package (Teronis.Castle.Core) with applied pull request?
Thanks for taking the time to report this @robertmclaws.
System.NotImplementedException: The method or operation is not implemented. at System.RuntimeType.MakeGenericType(Type[] instantiation)
just wanted to make sure this was on your radar once that happens
DynamicProxy very much depends on Reflection and System.Reflection.Emit. Realistically speaking, any platform/target that doesn't have full support for those facilities is essentially unsupported by DynamicProxy. There's not a whole lot that can be done about that short of a complete rewrite; depending on the exact use case, one may be better off with newer libraries that leverage compile-time code generation (e.g. those based on Roslyn code generators).
We do not keep a complete list of exactly which platforms/targets are supported by DP and which are not. Doing so would require testing setups for all possible platforms, and perhaps even dedicated testing hardware. Furthermore, that list would be subject to change as platforms and technologies evolve — we frankly don't have the resources to track them all, and have to leave it at a general statement that we support .NET Framework and .NET Core, but we probably cannot support scenarios where SRE is restricted (such as mobile platforms and AOT compiled code).
I don't think there's anything to be done here, so unless I've misunderstood the intent behind this issue, I'm going to close it in a few days' time.
Hey folks! Was trying to use the super-cool ChangeTracker project in by Blazor WebAssembly app on .NET 5, and ran into this issue:
Can potentially provide a repro if necessary. I know they are working on
System.Reflection.Emit
full support in Mono for .NET 6.0, just wanted to make sure this was on your radar once that happens.Thanks!