Skip to content
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

Operation is not supported on this platform exception on Xamarin iOS #46

Closed
yunusefendi52 opened this issue Nov 11, 2018 · 4 comments
Closed

Comments

@yunusefendi52
Copy link

I am trying to update to the latest preview version (3.1.0-preview-06) but there is an exception when trying to Resolve, the exception is "Operation is not supported on this platform exception" with System.Reflection.Emit on iOS, Resolve works tho on version 3.0.2

Thanks..

@dadhi
Copy link
Owner

dadhi commented Nov 11, 2018

Ok, thanks for reporting. Will check.

@dadhi dadhi closed this as completed in e84619d Nov 12, 2018
@dadhi
Copy link
Owner

dadhi commented Nov 20, 2018

@5yunus2efendi Hello again,

I have released a new DryIoc.dll.3.1.0-preview-07 package with the option to turn off FEC support #39 (which is most likely causing your problem).

To use it, create the Container like this:

var container = new Container(rules => rules.WithoutFastExpressionCompiler());

Please check did it help.

@dadhi dadhi reopened this Nov 20, 2018
@yunusefendi52
Copy link
Author

Sorry for the delay, it's working now.

@dadhi dadhi closed this as completed Feb 10, 2019
@uksreejith
Copy link

For me, WithoutFastExpressionCompiler fixed PlatformNotSupportedException on UWP too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants