Bug 19179 - Linker issues with System.ServiceModel or System.Web.Services
Summary: Linker issues with System.ServiceModel or System.Web.Services
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.12.3
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Radek Doulik
URL:
Depends on:
Blocks:
 
Reported: 2014-04-20 15:42 UTC by Neal
Modified: 2017-06-27 00:17 UTC (History)
4 users (show)

Tags: bb
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Neal 2014-04-20 15:42:34 UTC
Hello,

I use WCF with secure transport in my app.  I am in an upgrade cycle having not touched this app for a few months, updated all the Xamware (VS 2013 IDE) and the app is broken.  I seemed to recall an issue like this in iOS some time ago, it's a linker issue.  So I put in the following for linker exclusions:  System.ServiceModel;System.Web.Services

With the exclusions everything works fine again.  I'm not using the shared runtime.  My WCF service layer is in a separate namespace "NCSoftware.Common" from the main app's namespace if that matters.

Just an FYI that the linker exclusion resolved it.  Not sure what you may need as it's hard to really get you a test project for this issue but setting linking to NONE resolved it then as I recalled this issue in the past with Xamarin'ware I excluded the web services and WCF assemblies and all is fine with little penalty in size.

FYI

Thank you.
Comment 1 Arpit Jha 2014-10-30 08:01:02 UTC
We have checked this issue and unable to reproduce it.

Could you please provide us sample project or steps,So that We can able to reproduce at our end.
Comment 2 Neal 2014-10-30 08:06:13 UTC
Try putting your WCF code in a separate class library from your main project.
Comment 3 Neal 2014-11-02 13:22:26 UTC
Sorry, my Android solution is single project, iOS is not.  I can retest this if needed but several of us had this issue since this was reported in April 2014.
Comment 4 Radek Doulik 2014-11-06 08:45:43 UTC
Neal, could you please provide a test case project?
Comment 5 Chris Hardy [MSFT] 2017-06-26 18:03:16 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!