-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue using Castle with Blazor WebAssembly #589
Comments
I was facing an similiar bug. (see #585) |
Thanks for taking the time to report this @robertmclaws.
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!
The text was updated successfully, but these errors were encountered: