Bug 56315 - System.Net.Http Cannot register two managed types
Summary: System.Net.Http Cannot register two managed types
Status: RESOLVED DUPLICATE of bug 56255
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 10.12 (d15-3)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-12 20:01 UTC by rfreschi
Modified: 2017-05-12 20:16 UTC (History)
2 users (show)

Tags:
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 DUPLICATE of bug 56255

Description rfreschi 2017-05-12 20:01:55 UTC
Recently unable to send debug builds to iPhone or iPad devices:

MTOUCH: Error MT4116: Could not register the assembly '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 name ('__internal__xamarin_runtimeoptions_bundlefinder'). (MT4116)


=== Visual Studio Community 2017 for Mac (Preview) ===

Version 7.1 Preview (7.1 build 582)
Installation UUID: bea1690b-9327-4eb1-8354-f7e0a911217f
Runtime:
	Mono 5.2.0.104 (2017-04/4a0006f) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 502000104

=== NuGet ===

Version: 4.0.0.2323

=== .NET Core ===

Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.5.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: 7.3.0.13 (Visual Studio Community)
Android SDK: /Users/rfreschi/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)
		7.0    (API level 24)
		7.1    (API level 25)

SDK Tools Version: 26.0.2
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3

Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Inspector ===

Version: 1.3.0-alpha1
Hash: 0855e01
Branch: master
Build date: Thu, 11 May 2017 04:16:13 GMT

=== Apple Developer Tools ===

Xcode 8.3.2 (12175)
Build 8E2002

=== Xamarin.Mac ===

Version: 3.5.0.126 (Visual Studio Community)

=== Xamarin.iOS ===

Version: 10.11.0.126 (Visual Studio Community)
Hash: 7571635e
Branch: master
Build date: 2017-05-09 16:04:54-0400

=== Build Information ===

Release ID: 701000582
Git revision: 9263c856af081fe1dbfa7bbf9f4856deedfda9d9
Build date: 2017-05-10 16:48:24-04
Xamarin addins: 42029256ac89ded8ed2211aa7bda09debaefab7b
Build lane: monodevelop-lion-d15-3-preview

=== Operating System ===

Mac OS X 10.12.4
Darwin 16.5.0 Darwin Kernel Version 16.5.0
    Fri Mar  3 16:52:33 PST 2017
    root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Continuous Coding 2.0.5
Redth's Addins 1.0.6
Comment 1 Sebastien Pouliot 2017-05-12 20:16:47 UTC

*** This bug has been marked as a duplicate of bug 56255 ***