Bug 13535 - Exception "The imported type <System> is defined multiple times" after updating
Summary: Exception "The imported type <System> is defined multiple times" after updating
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.10
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-07-26 18:23 UTC by Bryan Moulton
Modified: 2015-08-26 09:58 UTC (History)
2 users (show)

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

XS Logs (36.92 KB, application/zip)
2013-07-26 18:23 UTC, Bryan Moulton
sample project (4.23 MB, application/x-zip-compressed)
2013-07-29 09:18 UTC, tonym

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 Bryan Moulton 2013-07-26 18:23:35 UTC
Created attachment 4460 [details]
XS Logs

In reference to case #42129

After updating Xamarin Studio to 4.0.10, the customer is receiving an error:
"The imported type <System> is defined multiple times"

Attached are the XS logs

=== Xamarin Studio ===

Version 4.0.10 (build 7)
Installation UUID: ad3092d4-7bb5-458f-91e3-5776c56e949e
Mono 3.2.0 ((no/7c7fcc7)
GTK 2.24.20
GTK# (
Package version: 302000000

=== Apple Developer Tools ===

Xcode 4.6.2 (2067.2)
Build 4H1003

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: c9f7659
Build date: 2013-18-07 21:36:03-0400

=== Xamarin.Android ===

Version: 4.8.0 (Starter Edition)
Android SDK: /Users/developer/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Build Information ===

Release ID: 400100007
Git revision: f324e2154ee86ae1b6b8483392eddbf418e6381b
Build date: 2013-07-20 06:23:58+0000
Xamarin addins: fe4f180e2386eafc00087ef68c3a580cff4a2592

=== Operating System ===

Mac OS X 10.8.4
Darwin Developers-Mac-mini.local 12.4.0 Darwin Kernel Version 12.4.0
Wed May 1 17:57:12 PDT 2013
root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
Comment 1 tonym 2013-07-29 09:18:09 UTC
Created attachment 4471 [details]
sample project

Sample project to reproduce the error.
Comment 2 David Hathaway 2013-07-29 16:30:54 UTC
The sample project contains references to two different libraries which contain System.Diagnostics.Trace.  The following is the detailed error from the project.

Error	139	The type 'System.Diagnostics.Trace' exists in both 'c:\Users\davidhathaway\Downloads\Enterprise\Enterprise\Resco.Data\bin\iPhone\Debug\Resco.Data.dll' and 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.dll'	C:\Users\davidhathaway\Downloads\Enterprise\Enterprise\MobileBusiness.Data\Synchronization\SyncEngine.cs	188	25	MobileBusiness.Data.MonoTouch
Comment 3 Lluis Sanchez 2015-08-26 09:58:08 UTC
Not an XS bug.