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.



:










share|improve this question
























  • 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















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.



:










share|improve this question
























  • 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













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.



:










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini