Bug 55055 - MT2001
Summary: MT2001
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: XI 10.10 (d15-2)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-04-12 05:12 UTC by Jim Bennett
Modified: 2017-04-26 01:08 UTC (History)
2 users (show)

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


Attachments
Build log (236.74 KB, text/rtf)
2017-04-19 21:56 UTC, Jim Bennett
Details


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 FIXED

Description Jim Bennett 2017-04-12 05:12:15 UTC
Using the latest alpha of everything with VS for Mac preview 7 I get a linker error:

    MTOUCH : error MT2001: Could not link assemblies.
    	Method: `System.Guid Driver.Core.Machines.MachineModel::get_Id()`
    	Assembly: `Driver.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null`
    Reason: Index was outside the bounds of the array.
    	Index was outside the bounds of the array.
Done building target "_CompileToNative" in project "Inspect.iOS.Test.csproj" -- FAILED.

The property in question is a Guid that uses the SQLite-Net.PCL PrimaryKey attribute and is defined on an interface that is implemented.
Comment 1 Timothy Risi 2017-04-12 22:14:12 UTC
Please include your full build logs, crash reports (if any), test case (to reproduce) and all version informations.

 The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
Comment 2 Jim Bennett 2017-04-19 21:56:47 UTC
Created attachment 21642 [details]
Build log
Comment 3 Jim Bennett 2017-04-19 21:59:38 UTC
Version information:

Xamarin Studio Enterprise
Version 6.3 (build 863)
Installation UUID: c2e7ede0-7d1e-49c2-afae-906321a2a2cb
Runtime:
	Mono 5.0.0.61 (2017-02/4242008) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500000061

NuGet
Version: 3.5.0.0

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

Apple Developer Tools
Xcode 8.3.1 (12170)
Build 8E1000a

Xamarin.iOS
Version: 10.10.0.11 (Visual Studio Enterprise)
Hash: 1fe8f10c
Branch: d15-2
Build date: 2017-04-13 22:19:00-0400

Xamarin.Android
Version: 7.3.0.6 (Visual Studio Enterprise)
Android SDK: /Users/jim.bennett/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)
		7.1 (API level 25)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.4
SDK Build Tools Version: 25.0.2

Java SDK: /usr
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

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

Xamarin.Mac
Version: 3.4.0.11 (Visual Studio Enterprise)

Xamarin Inspector
Version: 1.2.1
Hash: 0ea0a12
Branch: d15-1
Build date: Thu, 06 Apr 2017 20:24:44 GMT

Build Information
Release ID: 603000863
Git revision: a2163670efe259c85cd8f335d95b175068fbbe2a
Build date: 2017-04-03 14:33:15-04
Xamarin addins: 2045d688ea1420e0381b473360ca62a763eb7d04
Build lane: monodevelop-lion-d15-1

Operating System
Mac OS X 10.12.4
Darwin nzlt1500148.eroad.local 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
MvvmCross Template pack 1.2.6
Addin Maker 1.3.2
Paket 0.3
Redth's Addins 1.0.7
SpecFlow Support 1.9.1.0
Manifest.addin 0.0.0.0
Comment 4 Jim Bennett 2017-04-19 21:59:57 UTC
Happens in the latest alpha of Xamarin Studio and Visual Studio
Comment 5 Jim Bennett 2017-04-19 22:01:07 UTC
I can't provide a simple working reproduction, only seems to happen in our Forms apps so would only be able to provide source under an NDA/lawyer approval etc.
Comment 6 Jim Bennett 2017-04-26 01:08:52 UTC
Seems to be fixed in Mono 5.0.0.78 (2017-02/ba317ed) (64-bit)