Bug 56255 - [XI]monotuch-test fails to build with error 'System.Net.Http': error MT4118: Cannot register two managed types ('System.Net.Http.RuntimeOptions+BundleFinder, System.Net.Http' and 'ObjCRuntime.RuntimeOptions+BundleFinder, Xamarin.iOS') with the same native
Summary: [XI]monotuch-test fails to build with error 'System.Net.Http': error MT4118: ...
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: master
Hardware: PC Mac OS
: High normal
Target Milestone: 15.3
Assignee: Rolf Bjarne Kvinge [MSFT]
: 56315 56810 ()
Depends on:
Reported: 2017-05-11 22:17 UTC by GouriKumari
Modified: 2017-06-14 19:07 UTC (History)
7 users (show)

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:

Description GouriKumari 2017-05-11 22:17:41 UTC
## Steps to reproduce:

Update System to Xamarin.iOS master build and build monotouch-test.

## Actual Behaviour:
App failed to build.

## Build log: http://xqa.blob.core.windows.net/gist/log-0f4b139a2e5442f689a95fe62d25b54b.txt

## Test Env:
Mono after: Mono JIT compiler version (2017-02/1298269 Wed May 10 11:49:39 EDT 2017)
Xamarin.iOS version after install: mtouch (master: 7571635e)
Comment 3 Sebastien Pouliot 2017-05-12 20:16:47 UTC
*** Bug 56315 has been marked as a duplicate of this bug. ***
Comment 4 Rolf Bjarne Kvinge [MSFT] 2017-05-16 12:30:52 UTC
Comment 6 rfreschi 2017-05-18 17:55:59 UTC
Is there an ETA on an Alpha release for use in VS for Mac?
I cannot debug build to sims or devices. Unless there's another temp work around?
Comment 7 Sebastien Pouliot 2017-05-18 18:01:42 UTC
This will be part of the next XI 10.11 preview.

In the mean time you can either use the stable version (10.10.x) or use one of our daily builds* that comes from master, just like the current (and next) preview.

* master in https://github.com/xamarin/xamarin-macios/wiki#continuous-builds
Comment 8 Rolf Bjarne Kvinge [MSFT] 2017-05-24 16:56:44 UTC
*** Bug 56810 has been marked as a duplicate of this bug. ***
Comment 9 Miguel de Icaza [MSFT] 2017-05-24 17:24:42 UTC
Do we have a workaround for Frank on the other bug?
Comment 10 Rolf Bjarne Kvinge [MSFT] 2017-05-24 17:31:29 UTC
@Miguel, none except those listed by Sebastien in comment #7 (install a different XI version, either newer, where the bug is fixed, or stable).
Comment 11 GouriKumari 2017-06-14 19:07:26 UTC
This issue is resolved and monotouch-test builds successfully.


## Test Env: