Hi I have a solution (in Xamarin Studio) that consists of an exe and 2 dlls. When linking for the simulator, only the dll's mdb files end up in the exe.app folder. This means that you can debug the dlls, but not the exe.
Details: * Xamarin Studio 4.0.12 * Xamarin.iOS 6.4.1.1
I've traced the problem to the point where mtouch links the project. All the correct mdb files are in obj/iPhoneSimulator/Debug/mtouch-cache/PreBuild/. However, the exe's mdb is not copied to obj/iPhoneSimulator/Debug/mtouch-cache/Build/.
I've attached the full build output. The following is the mtouch command line:
"/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/Source/Client.Shell.iOS/obj/iPhoneSimulator/Debug/mtouch-cache" --nomanifest --nosign -sim "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/Source/Client.Shell.iOS/bin/iPhoneSimulator/Debug/ClientShelliOS.app" -r "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/Source/Client.Shared/bin/iPhoneSimulator/Debug/Gendac.EY.ClientInteract.Client.Shared.dll" -r "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/Source/Common.Models/bin/iPhoneSimulator/Debug/Gendac.EY.ClientInteract.Common.Models.dll" -r "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/Source/MonoCross.Navigation/bin/iPhone/Debug/MonoCross.Navigation.MT.dll" -r "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/Source/MonoCross.Touch/bin/iPhone/Debug/MonoCross.Touch.dll" -r "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/ExternalReferences/Gendac.SpeechKit/Gendac.SpeechKit.iOS.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll" -r "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/ExternalReferences/Siaqodb/Xamarin.iOS/SiaqodbiOS.dll" -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" -r "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/ExternalReferences/TestFlight/TestFlight.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.ComponentModel.DataAnnotations.dll" -debug -nolink -sdk "6.1" -targetver "5.0" --abi=i386 "-cxx" "-v" "-v" "/Users/pierreandre/Projects/EY-CINT-2010-07/Current/Source/Client.Shell.iOS/bin/iPhoneSimulator/Debug/ClientInteractTouch.exe"
I think this problem also prevents debugging from Visual Studio, for which I have logged a bug 13675 I'm sure it must be some setting in my project that's causing this, otherwise everyone would have had this problem. Any ideas on what to check?