Bug 3845 - When I build I get an unexpected error with the linker
Summary: When I build I get an unexpected error with the linker
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-03-10 23:37 UTC by Marcus
Modified: 2012-03-12 16:31 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 FIXED

Description Marcus 2012-03-10 23:37:35 UTC
This is the error I get when I build

Undefined symbols for architecture i386:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Error MT0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com (MT0000) (monotouch)

For your info I'm running Mac OS X Snow Leopard 10.6.8 and my Mac is a Mac-mini 1.66Ghz Intel Core duo with 2GB ram.
Comment 1 Sebastien Pouliot 2012-03-11 11:32:30 UTC
Please attach the complete build log for your application. 
You can find it in the "Build Log" inside the "Error List Pad" of MonoDevelop.
Thanks
Comment 2 Marcus 2012-03-12 08:24:05 UTC
full build log below:

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Developer" -v --nomanifest --nosign -sim "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/bin/iPhoneSimulator/Debug/monotouch.app" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -debug -profiling -nolink -sdk "5.0" "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/bin/iPhoneSimulator/Debug/monotouch.exe"
error MT0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com
System.TypeLoadException: A type load exception has occurred.
  at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0 

---------------------- Done ----------------------

Build: 1 error, 0 warnings
Comment 3 Sebastien Pouliot 2012-03-12 08:32:01 UTC
This is not a full build log (first lines are missing) and it does not end with the same error as your initial description either. 

Please start with a "Clean" on your solution then "Rebuild All" and attach the full build log (scroll if necessary).

Also please go to MonoDevelop's menu, select "About MonoDevelop", click on the "Version Info" tab and copy the text (with all the versions) and paste it into the bug report.
Comment 4 Marcus 2012-03-12 08:40:43 UTC
Whoops! Copy & paste mishap.

Clean then rebuild all, full error log below:

Building: monotouch (Debug|iPhoneSimulator)

Building Solution monotouch

Building: monotouch (Debug|iPhoneSimulator)

Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/bin/iPhoneSimulator/Debug/monotouch.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG"  /t:exe "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/Main.cs" "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/AppDelegate.cs" "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/monotouchViewController.cs" "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/monotouchViewController.designer.cs" 

Compiling interface definitions
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/monotouchViewController.xib" --compile "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/bin/iPhoneSimulator/Debug/monotouch.app/monotouchViewController.nib" --sdk "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk"
Couldn't open shared capabilities memory GSCapabilities (No such file or directory)
Build complete -- 0 errors, 0 warnings

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Developer" -v --nomanifest --nosign -sim "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/bin/iPhoneSimulator/Debug/monotouch.app" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -debug -profiling -nolink -sdk "5.0" "/Users/marcusmilne/Documents/iPhone dev/monotouch/monotouch/bin/iPhoneSimulator/Debug/monotouch.exe"
error MT0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com
System.TypeLoadException: A type load exception has occurred.
  at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0 

---------------------- Done ----------------------

Build: 1 error, 0 warnings

Monodevelop version info:

MonoDevelop 2.8.6.5
Installation UUID: 91ae38f7-340a-4afd-a456-2fd7fbfce84d
Runtime:
	Mono 2.10.8 (tarball Mon Dec 19 17:43:18 EST 2011)
	GTK 2.24.5
	GTK# (2.12.0.0)
Mono for Android not installed
Apple Developer Tools:
	 Xcode 4.2 (828)
	 Build 4C199
Monotouch: 5.2.5 (Evaluation)
Build information:
	Release ID: 20806005
	Git revision: 96a2067d048f7e91f9515c869f214243f1926953
	Build date: 2012-02-17 03:31:11+0000
Operating System:
	Mac OS X 10.6.8
	Darwin Mac-mini.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
Loaded assemblies:
MonoDevelop.RegexToolkit                   2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.RegexToolkit/MonoDevelop.RegexToolkit.dll
MonoDeveloperExtensions_nunit              0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDeveloperExtensions/MonoDeveloperExtensions_nunit.dll
MonoDevelop.WebReferences                  2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.WebReferences/MonoDevelop.WebReferences.dll
MonoDevelop.AspNet.Mvc                     2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.AspNet.Mvc/MonoDevelop.AspNet.Mvc.dll
MonoDevelop.CodeMetrics                    2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.CodeMetrics/MonoDevelop.CodeMetrics.dll
MonoDevelop.Debugger.Soft.IPhone           0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoDevelop.Debugger.Soft.IPhone.dll
MonoDevelop.Debugger.Soft                  2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft.dll
Mono.Debugger.Soft                         0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Debugger.Soft/Mono.Debugger.Soft.dll
Mono.Debugging.Soft                        0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft.dll
Sharpen                                    1.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/VersionControl/Sharpen.dll
NGit                                       1.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/VersionControl/NGit.dll
MonoDevelop.VersionControl.Git             2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/VersionControl/MonoDevelop.VersionControl.Git.dll
MonoDevelop.VersionControl.Subversion.Unix 2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/VersionControl/MonoDevelop.VersionControl.Subversion.Unix.dll
MonoDevelop.VersionControl.Subversion      2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/VersionControl/MonoDevelop.VersionControl.Subversion.dll
MonoDevelop.DocFood                        1.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.DocFood.dll
I18N.Rare                                  4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/I18N.Rare/4.0.0.0__0738eb9f132ed756/I18N.Rare.dll
I18N.CJK                                   4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/I18N.CJK/4.0.0.0__0738eb9f132ed756/I18N.CJK.dll
I18N.MidEast                               4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/I18N.MidEast/4.0.0.0__0738eb9f132ed756/I18N.MidEast.dll
I18N.Other                                 4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/I18N.Other/4.0.0.0__0738eb9f132ed756/I18N.Other.dll
I18N.West                                  4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll
I18N                                       4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll
MonoDevelop.HexEditor                      2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.HexEditor.dll
MonoDevelop.AssemblyBrowser                2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.AssemblyBrowser.dll
MonoDevelop.Database.Sql.MySql             2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Sql.MySql.dll
MonoDevelop.Database.Sql.Npgsql            2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Sql.Npgsql.dll
MonoDevelop.Database.Sql.SqlServer         2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Sql.SqlServer.dll
MonoDevelop.Database.Sql.Sqlite            2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Sql.Sqlite.dll
MonoDevelop.Database.Designer              2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Designer.dll
MonoDevelop.TextTemplating                 2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.dll
Mono.TextTemplating                        0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/Mono.TextTemplating.dll
MonoDevelop.Database.Query                 2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Query.dll
MonoDevelop.Database.Components            2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Components.dll
MonoDevelop.Database.Sql                   2.2.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Database/MonoDevelop.Database.Sql.dll
MonoDevelop.Gettext                        2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Gettext/MonoDevelop.Gettext.dll
ChangeLogAddIn                             2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/ChangeLogAddIn/ChangeLogAddIn.dll
MonoDevelop.CBinding                       2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/BackendBindings/MonoDevelop.CBinding.dll
MonoDevelop.Deployment.Linux               2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.Linux.dll
ILAsmBinding                               2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/BackendBindings/ILAsmBinding.dll
OldNRefactory                              2.1.1.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/OldNRefactory.dll
ICSharpCode.NRefactory                     1.0.4429.40462 /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/ICSharpCode.NRefactory.dll
MonoDevelop.Projects.Formats.MSBuild       1.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/MonoDevelop.Projects.Formats.MSBuild.exe
MonoDevelop.Autotools                      2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Autotools/MonoDevelop.Autotools.dll
MonoDevelop.MonoMac                        2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/MonoDevelop.MonoMac.dll
MonoDevelop.MsVisualStudio                 2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MsVisualStudio/MonoDevelop.MsVisualStudio.dll
MonoDevelop.VBNetBinding                   2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/BackendBindings/MonoDevelop.VBNetBinding.dll
MonoDevelop.CSharpBinding                  2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/BackendBindings/MonoDevelop.CSharpBinding.dll
MonoDevelop.Refactoring                    2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Refactoring/MonoDevelop.Refactoring.dll
MonoDevelop.Moonlight                      2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Moonlight/MonoDevelop.Moonlight.dll
MonoDevelop.AspNet                         2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.AspNet/MonoDevelop.AspNet.dll
MonoDevelop.XmlEditor                      2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.dll
MonoDevelop.Deployment                     2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.dll
ICSharpCode.SharpZipLib                    2.84.0.0       /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/ICSharpCode.SharpZipLib/2.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
MonoDevelop.GtkCore                        2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.GtkCore/MonoDevelop.GtkCore.dll
libsteticui                                0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.GtkCore/libsteticui.dll
libstetic                                  0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.GtkCore/libstetic.dll
Mono.Security                              4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
Xamarin.Ide.Mac                            1.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.Ide.Mac.dll
nunit.util                                 2.4.8.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/NUnit/nunit.util.dll
nunit.framework                            2.4.8.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/NUnit/nunit.framework.dll
nunit.core.interfaces                      2.4.8.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/NUnit/nunit.core.interfaces.dll
nunit.core                                 2.4.8.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/NUnit/nunit.core.dll
MonoDevelop.NUnit                          2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/NUnit/MonoDevelop.NUnit.dll
Mono.Cairo                                 4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/Mono.Cairo/4.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
MonoDeveloperExtensions                    2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDeveloperExtensions/MonoDeveloperExtensions.dll
Mono.Debugging                             0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/Mono.Debugging.dll
pango-sharp                                2.12.0.0       /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/pango-sharp/2.12.0.0__35e10195dab3c99f/pango-sharp.dll
monodoc                                    1.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll
System.Drawing                             4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Mono.Cecil                                 0.9.4.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/Mono.Cecil.dll
MonoDevelop.IPhone                         2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.IPhone/MonoDevelop.IPhone.dll
MonoDevelop.MacDev                         2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MacDev/MonoDevelop.MacDev.dll
MonoDevelop.DesignerSupport                2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.dll
MacPlatform                                2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MacPlatform.dll
MonoMac                                    0.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoMac.dll
MonoDevelop.VersionControl                 2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/VersionControl/MonoDevelop.VersionControl.dll
MonoDevelop.SourceEditor2                  2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.SourceEditor2.dll
MonoDevelop.Debugger                       2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.Debugger/MonoDevelop.Debugger.dll
MonoDevelop.MonoDroid                      4.0.0.24       /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid.dll
Mono.AndroidTools                          0.9.3.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoDroid/Mono.AndroidTools.dll
Xamarin.Ide                                1.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.Ide.dll
System.Configuration                       4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
gdk-sharp                                  2.12.0.0       /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/gdk-sharp/2.12.0.0__35e10195dab3c99f/gdk-sharp.dll
Mono.TextEditor                            1.0.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/Mono.TextEditor.dll
atk-sharp                                  2.12.0.0       /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/atk-sharp/2.12.0.0__35e10195dab3c99f/atk-sharp.dll
glib-sharp                                 2.12.0.0       /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
gtk-sharp                                  2.12.0.0       /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
Mono.Posix                                 4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll
Mono.Addins                                0.6.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/Mono.Addins/0.6.0.0__0738eb9f132ed756/Mono.Addins.dll
Mono.Addins.Setup                          0.6.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/Mono.Addins.Setup/0.6.0.0__0738eb9f132ed756/Mono.Addins.Setup.dll
System.Xml                                 4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Xml.Linq                            4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
System.Core                                4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
System                                     4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
MonoDevelop.Core                           2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/MonoDevelop.Core.dll
MonoDevelop.Ide                            2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/MonoDevelop.Ide.dll
MonoDevelop                                2.6.0.0        /Users/marcusmilne/Desktop/MonoDevelop.app/Contents/MacOS/lib/monodevelop/bin/MonoDevelop.exe
mscorlib                                   4.0.0.0        /Library/Frameworks/Mono.framework/Versions/2.10.8/lib/mono/4.0/mscorlib.dll
Comment 5 Sebastien Pouliot 2012-03-12 09:05:19 UTC
Thanks. All versions looks good.

I'm nearly certain the issue is that your application is named `monotouch.exe` which, internally, is confused with `monotouch.dll` since the extenstion is not used in the assembly names.

Does it work if you renamed you project to `monotouch1.exe` ?
Comment 6 Marcus 2012-03-12 09:26:44 UTC
yes, you are 100% correct!  it works if I change the name.  Thank you!
Comment 7 Sebastien Pouliot 2012-03-12 09:27:49 UTC
Thanks for confirming. I'll see we can add a check for this (so it does not happen again).
Comment 8 Sebastien Pouliot 2012-03-12 16:31:37 UTC
Fixes (early and specific error message) in master 3b1f4f6b213078ecedd40b80512d41736a4d3110