Xamarin iOS Newbie - MonoTouch does not support dynamic proxy code generation
up vote
-1
down vote
favorite
Xamarin iOS error message
Hi, I need some help. I'm a really junior .Net developer trying to develop a Xamarin app for Android and iOS. This app has to consume a WCF and display a list of contacts from a database in the app. Android doesn't work with the asynchronous methods, so I found a solution and I created another proxy with svcutil. iOS and mono touch isn't compatible with Dynamic proxy. Then my app works fine with the Android debug but doesn't want to work with Xamarin iOS. It always returns the same error message:
System.InvalidOperationException: "MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance
Does someone know how to do or have a solution for that kind of issue?
Thanks.
Bonjour, j'ai besoin d'aide. Je suis junior développeur et j'essaie de développer une application Xamarin pour Android et IOS. Cette application doit consommer un service WFC et afficher un liste de contacts provenant d'une base de données. Android ne fonctionnant pas avec des méthodes asynchrones, j'ai du générer un proxy avec svcutil. Malheureusement IOS est incompatible avec ce type de proxy dynamique. L'application fonctionne donc bien en debug sous Android mais sous IOS je reçois le message d'erreur suivant:
"MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance"
Quelqu'un saurait il comment procéder ou aurait une solution face à ce genre de problème ?
D'avance Merci.
:
android xamarin.ios
add a comment |
up vote
-1
down vote
favorite
Xamarin iOS error message
Hi, I need some help. I'm a really junior .Net developer trying to develop a Xamarin app for Android and iOS. This app has to consume a WCF and display a list of contacts from a database in the app. Android doesn't work with the asynchronous methods, so I found a solution and I created another proxy with svcutil. iOS and mono touch isn't compatible with Dynamic proxy. Then my app works fine with the Android debug but doesn't want to work with Xamarin iOS. It always returns the same error message:
System.InvalidOperationException: "MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance
Does someone know how to do or have a solution for that kind of issue?
Thanks.
Bonjour, j'ai besoin d'aide. Je suis junior développeur et j'essaie de développer une application Xamarin pour Android et IOS. Cette application doit consommer un service WFC et afficher un liste de contacts provenant d'une base de données. Android ne fonctionnant pas avec des méthodes asynchrones, j'ai du générer un proxy avec svcutil. Malheureusement IOS est incompatible avec ce type de proxy dynamique. L'application fonctionne donc bien en debug sous Android mais sous IOS je reçois le message d'erreur suivant:
"MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance"
Quelqu'un saurait il comment procéder ou aurait une solution face à ce genre de problème ?
D'avance Merci.
:
android xamarin.ios
iOS lack the required infrastructure to call WCF methods directly. However, you can follow this guide to create proxies: docs.microsoft.com/en-us/xamarin/cross-platform/data-cloud/…. github.com/sami1971/SimplyMobile/blob/master/Core/Plugins/…
– Lucas Zhang - MSFT
Nov 12 at 6:13
Thanks a lot. I found the solution. Everything ok.
– Thierry Gillot
Nov 28 at 14:10
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
Xamarin iOS error message
Hi, I need some help. I'm a really junior .Net developer trying to develop a Xamarin app for Android and iOS. This app has to consume a WCF and display a list of contacts from a database in the app. Android doesn't work with the asynchronous methods, so I found a solution and I created another proxy with svcutil. iOS and mono touch isn't compatible with Dynamic proxy. Then my app works fine with the Android debug but doesn't want to work with Xamarin iOS. It always returns the same error message:
System.InvalidOperationException: "MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance
Does someone know how to do or have a solution for that kind of issue?
Thanks.
Bonjour, j'ai besoin d'aide. Je suis junior développeur et j'essaie de développer une application Xamarin pour Android et IOS. Cette application doit consommer un service WFC et afficher un liste de contacts provenant d'une base de données. Android ne fonctionnant pas avec des méthodes asynchrones, j'ai du générer un proxy avec svcutil. Malheureusement IOS est incompatible avec ce type de proxy dynamique. L'application fonctionne donc bien en debug sous Android mais sous IOS je reçois le message d'erreur suivant:
"MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance"
Quelqu'un saurait il comment procéder ou aurait une solution face à ce genre de problème ?
D'avance Merci.
:
android xamarin.ios
Xamarin iOS error message
Hi, I need some help. I'm a really junior .Net developer trying to develop a Xamarin app for Android and iOS. This app has to consume a WCF and display a list of contacts from a database in the app. Android doesn't work with the asynchronous methods, so I found a solution and I created another proxy with svcutil. iOS and mono touch isn't compatible with Dynamic proxy. Then my app works fine with the Android debug but doesn't want to work with Xamarin iOS. It always returns the same error message:
System.InvalidOperationException: "MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance
Does someone know how to do or have a solution for that kind of issue?
Thanks.
Bonjour, j'ai besoin d'aide. Je suis junior développeur et j'essaie de développer une application Xamarin pour Android et IOS. Cette application doit consommer un service WFC et afficher un liste de contacts provenant d'une base de données. Android ne fonctionnant pas avec des méthodes asynchrones, j'ai du générer un proxy avec svcutil. Malheureusement IOS est incompatible avec ce type de proxy dynamique. L'application fonctionne donc bien en debug sous Android mais sous IOS je reçois le message d'erreur suivant:
"MonoTouch does not support dynamic proxy code generation. Override this method or its caller to return specific client proxy instance"
Quelqu'un saurait il comment procéder ou aurait une solution face à ce genre de problème ?
D'avance Merci.
:
android xamarin.ios
android xamarin.ios
edited Nov 9 at 16:23
tk421
3,33431426
3,33431426
asked Nov 9 at 8:04
Thierry Gillot
11
11
iOS lack the required infrastructure to call WCF methods directly. However, you can follow this guide to create proxies: docs.microsoft.com/en-us/xamarin/cross-platform/data-cloud/…. github.com/sami1971/SimplyMobile/blob/master/Core/Plugins/…
– Lucas Zhang - MSFT
Nov 12 at 6:13
Thanks a lot. I found the solution. Everything ok.
– Thierry Gillot
Nov 28 at 14:10
add a comment |
iOS lack the required infrastructure to call WCF methods directly. However, you can follow this guide to create proxies: docs.microsoft.com/en-us/xamarin/cross-platform/data-cloud/…. github.com/sami1971/SimplyMobile/blob/master/Core/Plugins/…
– Lucas Zhang - MSFT
Nov 12 at 6:13
Thanks a lot. I found the solution. Everything ok.
– Thierry Gillot
Nov 28 at 14:10
iOS lack the required infrastructure to call WCF methods directly. However, you can follow this guide to create proxies: docs.microsoft.com/en-us/xamarin/cross-platform/data-cloud/…. github.com/sami1971/SimplyMobile/blob/master/Core/Plugins/…
– Lucas Zhang - MSFT
Nov 12 at 6:13
iOS lack the required infrastructure to call WCF methods directly. However, you can follow this guide to create proxies: docs.microsoft.com/en-us/xamarin/cross-platform/data-cloud/…. github.com/sami1971/SimplyMobile/blob/master/Core/Plugins/…
– Lucas Zhang - MSFT
Nov 12 at 6:13
Thanks a lot. I found the solution. Everything ok.
– Thierry Gillot
Nov 28 at 14:10
Thanks a lot. I found the solution. Everything ok.
– Thierry Gillot
Nov 28 at 14:10
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53221875%2fxamarin-ios-newbie-monotouch-does-not-support-dynamic-proxy-code-generation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
iOS lack the required infrastructure to call WCF methods directly. However, you can follow this guide to create proxies: docs.microsoft.com/en-us/xamarin/cross-platform/data-cloud/…. github.com/sami1971/SimplyMobile/blob/master/Core/Plugins/…
– Lucas Zhang - MSFT
Nov 12 at 6:13
Thanks a lot. I found the solution. Everything ok.
– Thierry Gillot
Nov 28 at 14:10