Bug 39040 - The XML element named '' from namespace is already present in the current scope
Summary: The XML element named '' from namespace is already present in the current scope
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 9.4 (iOS 9.2)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-02-23 13:40 UTC by Alain
Modified: 2016-04-12 18:40 UTC (History)
2 users (show)

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


Attachments
LOG IDE (10.95 KB, text/plain)
2016-02-27 11:08 UTC, Alain
Details
File Release Mode (250.90 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-03-16 12:02 UTC, Alain
Details
File DEBUG MODE (250.99 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-03-16 12:03 UTC, Alain
Details
Debug File (1.22 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-03-16 13:31 UTC, Alain
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 ANSWERED

Description Alain 2016-02-23 13:40:00 UTC
Hi,

I have a problem with the release mode. When I execute my APP, that's crash only a release mode with this error :



2016-02-23 14:34:26.628 MedinectIPad[6873:234864] Warning: PLCrashReporter has pending crash report
2016-02-23 14:34:27.168 MedinectIPad[6873:234864] Warning: Unhandled exception: System.InvalidOperationException: The XML element named '' from namespace 'https://Medinect.net/EHealthConnectionWebService' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element.
  at System.Xml.Serialization.ClassMap.AddMember (System.Xml.Serialization.XmlTypeMapMember ) <0x137e3188 + 0x007ff> in <filename unknown>:0 
  at System.Xml.Serialization.XmlMembersMapping..ctor (System.String , System.String , Boolean , Boolean , System.Xml.Serialization.XmlMemberMapping[] ) <0x137e5ed0 + 0x000b7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean , XmlMappingAccess ) <0x1374b6b8 + 0x001c7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean ) <0x1374b660 + 0x00047> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean ) <0x1374b610 + 0x0003f> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean ) <0x1374b5c8 + 0x00037> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapMethodStubInfo..ctor (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , System.Object , System.Xml.Serialization.XmlReflectionImporter , System.Xml.Serialization.SoapReflectionImporter ) <0x13747ea0 + 0x0089f> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , Boolean ) <0x13747b40 + 0x00127> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () <0x13747750 + 0x000f1> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.Initialize () <0x13747688 + 0x00012> in <filename unknown>:0 
  at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String ) <0x13745a58 + 0x00103> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type , System.String ) <0x13743bd8 + 0x00027> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () <0x137432d8 + 0x0002b> in <filename unknown>:0 
  at DLLMedinect.EHealthConnectionWebService.Service..ctor () <0x13743290 + 0x00013> in <filename unknown>:0 
  at EHealthConnectionWebServiceExt..ctor () <0x13743268 + 0x00013> in <filename unknown>:0 
  at DLLMedinect.Medinect..ctor (System.String , System.String , System.String , System.String ) <0x13742b70 + 0x0002b> in <filename unknown>:0 
  at MedinectIPad.AppDelegate.FinishedLaunching (UIKit.UIApplication , Foundation.NSDictionary ) <0x13742000 + 0x0015f> in <filename unknown>:0 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] , IntPtr , IntPtr ) <0x117c6630 + 0x0002b> in <filename unknown>:0 
  at UIKit.UIApplication.Main (System.String[] , System.String , System.String ) <0x117c6590 + 0x00087> in <filename unknown>:0 
  at MedinectIPad.Application.Main (System.String[] ) <0xeb6b2f0 + 0x0022b> in <filename unknown>:0 
2016-02-23 14:34:27.207 MedinectIPad[6873:234864] Unhandled managed exception:
The XML element named '' from namespace 'https://Medinect.net/EHealthConnectionWebService' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element. (System.InvalidOperationException)
  at System.Xml.Serialization.ClassMap.AddMember (System.Xml.Serialization.XmlTypeMapMember ) <0x137e3188 + 0x007ff> in <filename unknown>:0 
  at System.Xml.Serialization.XmlMembersMapping..ctor (System.String , System.String , Boolean , Boolean , System.Xml.Serialization.XmlMemberMapping[] ) <0x137e5ed0 + 0x000b7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean , XmlMappingAccess ) <0x1374b6b8 + 0x001c7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean ) <0x1374b660 + 0x00047> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean ) <0x1374b610 + 0x0003f> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean ) <0x1374b5c8 + 0x00037> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapMethodStubInfo..ctor (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , System.Object , System.Xml.Serialization.XmlReflectionImporter , System.Xml.Serialization.SoapReflectionImporter ) <0x13747ea0 + 0x0089f> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , Boolean ) <0x13747b40 + 0x00127> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () <0x13747750 + 0x000f1> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.Initialize () <0x13747688 + 0x00012> in <filename unknown>:0 
  at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String ) <0x13745a58 + 0x00103> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type , System.String ) <0x13743bd8 + 0x00027> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () <0x137432d8 + 0x0002b> in <filename unknown>:0 
  at DLLMedinect.EHealthConnectionWebService.Service..ctor () <0x13743290 + 0x00013> in <filename unknown>:0 
  at EHealthConnectionWebServiceExt..ctor () <0x13743268 + 0x00013> in <filename unknown>:0 
  at DLLMedinect.Medinect..ctor (System.String , System.String , System.String , System.String ) <0x13742b70 + 0x0002b> in <filename unknown>:0 
  at MedinectIPad.AppDelegate.FinishedLaunching (UIKit.UIApplication , Foundation.NSDictionary ) <0x13742000 + 0x0015f> in <filename unknown>:0 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] , IntPtr , IntPtr ) <0x117c6630 + 0x0002b> in <filename unknown>:0 
  at UIKit.UIApplication.Main (System.String[] , System.String , System.String ) <0x117c6590 + 0x00087> in <filename unknown>:0 
  at MedinectIPad.Application.Main (System.String[] ) <0xeb6b2f0 + 0x0022b> in <filename unknown>:0
Comment 1 Sebastien Pouliot 2016-02-23 19:02:42 UTC
Your Release and Debug builds are likely different (e..g options). Could you attach the build logs for:

1. a clean Release rebuild (which crash);

2. a clean Debug rebuild (which works);


In both cases please add the "-v -v -v -v" to the "Additional mtouch arguments" of the project's options. That will tell us a lot about what differs between the builds and should help pinpoint where your issue could be.
Comment 2 Alain 2016-02-24 09:25:57 UTC
Sorry, I had to put the version 2.4.1 to no longer have the problem.

Now I do not know because test version 2.7 has been removed from the ALPHA channel

Alain
Comment 3 Alain 2016-02-27 11:08:14 UTC
Created attachment 15189 [details]
LOG IDE
Comment 4 Alain 2016-02-27 11:09:53 UTC
IN DEBUG MODE :

2016-02-27 12:04:07.170 MedinectIPad[18087:4496703] Xamarin.iOS: Established connection with the IDE (fd: 7)
2016-02-27 12:04:07.170 MedinectIPad[18087:4496703] Xamarin.iOS: Processing: 'start profiler: no'
2016-02-27 12:04:07.200 MedinectIPad[18087:4496695] Xamarin.iOS: Debugger loaded with custom transport (fd: 5)
2016-02-27 12:04:07.218 MedinectIPad[18087:4496695] Xamarin.iOS: Profiler not loaded (disabled)
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/Xamarin.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.dll [External]
Thread started:  #2
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/MedinectIPad.exe
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/DLLMedinect.dll
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/ActionTray.iOS-Unified.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/Xamarin.Mobile.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/Alliance.Charts.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/SQLite.Net.Platform.SQLCipher.XamarinIOS.Unified.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Xml.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Data.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Numerics.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Transactions.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Core.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/Mono.Dynamic.Interpreter.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/BouncyCastle.CryptoExt.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Web.Services.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/GlobalTools.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/StructuresLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/ComponentPro.Ftp.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/ComponentPro.FileSystem.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/ComponentPro.Common.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/ComponentPro.Network.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/ComponentPro.Zip.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/KmehrLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/TranslationLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/LaboLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/MedinectSQLLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/FreedelitySmartCard.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/Xamarin.Insights.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/PLCrashReporterUnifiedBinding.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Net.Http.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/BTProgressHUD.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/Newtonsoft.Json.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/2A702C79-D777-4272-983E-C85A2F53586A/MedinectIPad.app/System.Runtime.Serialization.dll [External]
Thread started:  #3
2016-02-27 12:04:09.134 MedinectIPad[18087:4496695] Warning: PLCrashReporter has pending crash report
Resolved pending breakpoint at 'MultiUser.cs:19334,1' to bool DLLMedinect.Medinect.RecuperationDonneesMultiUtilisateur (string strLangueUtilisateur, string strNumeroINAMI, bool blErreurImportation) [0x0e3a8].
Resolved pending breakpoint at 'MultiUser.cs:14537,1' to bool DLLMedinect.Medinect.RecuperationDonneesMultiUtilisateur (string strLangueUtilisateur, string strNumeroINAMI, bool blErreurImportation) [0x004b1].
Resolved pending breakpoint at 'MultiUser.cs:14484,1' to bool DLLMedinect.Medinect.RecuperationDonneesMultiUtilisateur (string strLangueUtilisateur, string strNumeroINAMI, bool blErreurImportation) [0x0038b].
Resolved pending breakpoint at 'ImportExport.cs:6075,125' to bool DLLMedinect.Medinect.GestionPrestation (int intUtilisateurID, string strLangueUtilisateur, string strNomPatient, string strPrenomPatient, string strDateNaissance, bool blErreurImportation, string strDateImportCourant, string strTypeQT, string strForme, string strRepas, string strDateMiseAJourMedical, string strCNK, string strCNKCluster, string strLocalID, int intMedicalID, int intTypeMedicalDetailID, int intRappelID, int intVaccinsID, int intEcheanceID, int intGroupeEcheanceID, int intPatientID, int intPrestationID, int intBiometrieID, int intAge, int intAnnee, int intNatureVaccinsID, int intDoseVaccinsID, int intGroupeVaccinsID, int intNumeroInjection, int intNumeroOrdonnance, int intEnteteOrdoID, int intDetailOrdoID, int intChronique, int intStatut, int intFormatDateDebut, int intFormatDateFin, int intSubstitution, int intTypeActe, string strDatePrestationCourante, string strDateInitiale, string strComplementPosologie, string strPosologie, decimal decQuantite, decimal decNombreJour, int intLienElementSoinsID, int intLienDemarcheID, bool blPrestation, bool blInsert, string strNomProduit, string strNumeroRecipe, System.Guid strGUID, KmehrLib.DataKmehr.Patient p) [0x0b67b].
Resolved pending breakpoint at 'Configuration.cs:537,1' to bool DLLMedinect.Medinect.RestaurationDroitsUtilisateur (int intUtilisateurID, int intToutLocal) [0x00110].
Resolved pending breakpoint at 'AccesExterne.cs:2126,1' to int DLLMedinect.Medinect.LectureEmailEHealthBox (string strNumeroINAMI, string strNISS, string strPaswword, int intUtilisateurID, bool blXMLPresent, int intSuppressionMessageTotal, string strTailleBoite, string strMessageAttente, bool blLaboPresent, int intNombreFichierLabo, string strLangueUtilisateur) [0x00bff].
Resolved pending breakpoint at 'AccesExterne.cs:2033,1' to int DLLMedinect.Medinect.LectureEmailEHealthBox (string strNumeroINAMI, string strNISS, string strPaswword, int intUtilisateurID, bool blXMLPresent, int intSuppressionMessageTotal, string strTailleBoite, string strMessageAttente, bool blLaboPresent, int intNombreFichierLabo, string strLangueUtilisateur) [0x00a2a].
Resolved pending breakpoint at 'AccesExterne.cs:2012,1' to int DLLMedinect.Medinect.LectureEmailEHealthBox (string strNumeroINAMI, string strNISS, string strPaswword, int intUtilisateurID, bool blXMLPresent, int intSuppressionMessageTotal, string strTailleBoite, string strMessageAttente, bool blLaboPresent, int intNombreFichierLabo, string strLangueUtilisateur) [0x009b6].
Resolved pending breakpoint at 'DossierPatient.cs:5112,1' to bool DLLMedinect.Medinect.ProlongationCLotureDMG (string strNumeroINAMI, string strPaswword, string strUtilisateur, int intUtilisateurID, string strErreurProlongation, string strErreurCloture, string strLangueUtilisateur, string strNISSUtilisateur) [0x00037].
Resolved pending breakpoint at 'eFact.cs:5695,1' to bool DLLMedinect.Medinect.RechercheErreurOA (int intCorrection, string strLangueUtilisateur, System.Collections.Generic.List<DLLMedinect.Medinect.ElementErreurFacturation> lstErreurFacturation, System.Collections.Generic.List<DLLMedinect.Medinect.ElementTableListeErreur> lstTableErreurFacturation, int intUtilisateurID, decimal decMontantPayeTotal, int intTotalAttestation, bool blTout) [0x00bcc].
2016-02-27 12:04:10.868 MedinectIPad[18087:4496695] <UIVisualEffectView 0x7cdc2890> is being asked to animate its opacity. This will cause the effect to appear broken until opacity returns to 1.
Thread started: <Thread Pool> #4
Thread started: <Thread Pool> #5
Thread started: <Thread Pool> #6
Thread started: <Thread Pool> #7
Thread started: <Thread Pool> #8
Thread started: <Thread Pool> #9
Thread started: <Thread Pool> #10
Thread started: <Thread Pool> #11
Thread finished: <Thread Pool> #6
Thread finished: <Thread Pool> #11

IN RELEASE MODE :

2016-02-27 12:07:24.200 MedinectIPad[18094:4514056] Warning: Unhandled exception: System.InvalidOperationException: The XML element named '' from namespace 'https://Medinect.net/EHealthConnectionWebService' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element.
  at System.Xml.Serialization.ClassMap.AddMember (System.Xml.Serialization.XmlTypeMapMember ) <0x12bde2a0 + 0x007ff> in <filename unknown>:0 
  at System.Xml.Serialization.XmlMembersMapping..ctor (System.String , System.String , Boolean , Boolean , System.Xml.Serialization.XmlMemberMapping[] ) <0x12be1630 + 0x000b7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean , XmlMappingAccess ) <0x12b456b0 + 0x001c7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean ) <0x12b45658 + 0x00047> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean ) <0x12b45608 + 0x0003f> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean ) <0x12b455c0 + 0x00037> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapMethodStubInfo..ctor (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , System.Object , System.Xml.Serialization.XmlReflectionImporter , System.Xml.Serialization.SoapReflectionImporter ) <0x12b41e98 + 0x0089f> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , Boolean ) <0x12b41b38 + 0x00127> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () <0x12b41748 + 0x000f1> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.Initialize () <0x12b41680 + 0x00012> in <filename unknown>:0 
  at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String ) <0x117cbb38 + 0x00103> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type , System.String ) <0x117c7ff0 + 0x00027> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () <0x117c76f0 + 0x0002b> in <filename unknown>:0 
  at DLLMedinect.EHealthConnectionWebService.Service..ctor () <0x117c76a8 + 0x00013> in <filename unknown>:0 
  at EHealthConnectionWebServiceExt..ctor () <0x117c7680 + 0x00013> in <filename unknown>:0 
  at DLLMedinect.Medinect..ctor (System.String , System.String , System.String , System.String ) <0x117c6f88 + 0x0002b> in <filename unknown>:0 
  at MedinectIPad.AppDelegate.FinishedLaunching (UIKit.UIApplication , Foundation.NSDictionary ) <0x117c6418 + 0x0015f> in <filename unknown>:0 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] , IntPtr , IntPtr ) <0x117bdd40 + 0x0002b> in <filename unknown>:0 
  at UIKit.UIApplication.Main (System.String[] , System.String , System.String ) <0x117bdca0 + 0x00087> in <filename unknown>:0 
  at MedinectIPad.Application.Main (System.String[] ) <0xeb6f2f0 + 0x0022b> in <filename unknown>:0 
2016-02-27 12:07:24.237 MedinectIPad[18094:4514056] Unhandled managed exception:
The XML element named '' from namespace 'https://Medinect.net/EHealthConnectionWebService' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element. (System.InvalidOperationException)
  at System.Xml.Serialization.ClassMap.AddMember (System.Xml.Serialization.XmlTypeMapMember ) <0x12bde2a0 + 0x007ff> in <filename unknown>:0 
  at System.Xml.Serialization.XmlMembersMapping..ctor (System.String , System.String , Boolean , Boolean , System.Xml.Serialization.XmlMemberMapping[] ) <0x12be1630 + 0x000b7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean , XmlMappingAccess ) <0x12b456b0 + 0x001c7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean ) <0x12b45658 + 0x00047> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean ) <0x12b45608 + 0x0003f> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean ) <0x12b455c0 + 0x00037> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapMethodStubInfo..ctor (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , System.Object , System.Xml.Serialization.XmlReflectionImporter , System.Xml.Serialization.SoapReflectionImporter ) <0x12b41e98 + 0x0089f> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , Boolean ) <0x12b41b38 + 0x00127> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () <0x12b41748 + 0x000f1> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.Initialize () <0x12b41680 + 0x00012> in <filename unknown>:0 
  at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String ) <0x117cbb38 + 0x00103> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type , System.String ) <0x117c7ff0 + 0x00027> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () <0x117c76f0 + 0x0002b> in <filename unknown>:0 
  at DLLMedinect.EHealthConnectionWebService.Service..ctor () <0x117c76a8 + 0x00013> in <filename unknown>:0 
  at EHealthConnectionWebServiceExt..ctor () <0x117c7680 + 0x00013> in <filename unknown>:0 
  at DLLMedinect.Medinect..ctor (System.String , System.String , System.String , System.String ) <0x117c6f88 + 0x0002b> in <filename unknown>:0 
  at MedinectIPad.AppDelegate.FinishedLaunching (UIKit.UIApplication , Foundation.NSDictionary ) <0x117c6418 + 0x0015f> in <filename unknown>:0 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] , IntPtr , IntPtr ) <0x117bdd40 + 0x0002b> in <filename unknown>:0 
  at UIKit.UIApplication.Main (System.String[] , System.String , System.String ) <0x117bdca0 + 0x00087> in <filename unknown>:0 
  at MedinectIPad.Application.Main (System.String[] ) <0xeb6f2f0 + 0x0022b> in <filename unknown>:0
Comment 5 Sebastien Pouliot 2016-02-29 20:08:58 UTC
@Alain, what we need are the *build* logs to compare your debug and release builds. 

Without full build logs (done with `-v -v -v -v) it’s not possible to guess why it happened, nor to suggest potential workaround. The IDE logs (or execution logs) are not useful in this case.
Comment 6 Alain 2016-03-07 18:44:11 UTC
Hi,

I put in my project -v -v -v -v. Is this the log that you want? If not, where can I find the log that you want?

In Release mode :

2016-03-07 19:38:03.821 MedinectIPad[9121:6639568] Warning: PLCrashReporter has pending crash report
2016-03-07 19:38:04.111 MedinectIPad[9121:6639568] Warning: Unhandled exception: System.InvalidOperationException: The XML element named '' from namespace 'https://Medinect.net/EHealthConnectionWebService' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element.
  at System.Xml.Serialization.ClassMap.AddMember (System.Xml.Serialization.XmlTypeMapMember ) <0x12b79800 + 0x007ff> in <filename unknown>:0 
  at System.Xml.Serialization.XmlMembersMapping..ctor (System.String , System.String , Boolean , Boolean , System.Xml.Serialization.XmlMemberMapping[] ) <0x12b7c548 + 0x000b7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean , XmlMappingAccess ) <0x12b686a0 + 0x001c7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean ) <0x12b68648 + 0x00047> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean ) <0x12b685f8 + 0x0003f> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean ) <0x12b685b0 + 0x00037> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapMethodStubInfo..ctor (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , System.Object , System.Xml.Serialization.XmlReflectionImporter , System.Xml.Serialization.SoapReflectionImporter ) <0x12b64e88 + 0x0089f> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , Boolean ) <0x12b64b28 + 0x00127> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () <0x12b64738 + 0x000f1> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.Initialize () <0x12b64670 + 0x00012> in <filename unknown>:0 
  at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String ) <0x12b62a40 + 0x00103> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type , System.String ) <0x12b60c50 + 0x00027> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () <0x12b60350 + 0x0002b> in <filename unknown>:0 
  at DLLMedinect.EHealthConnectionWebService.Service..ctor () <0x12b60318 + 0x00013> in <filename unknown>:0 
  at EHealthConnectionWebServiceExt..ctor () <0x12b602f0 + 0x00013> in <filename unknown>:0 
  at DLLMedinect.Medinect..ctor (System.String , System.String , System.String , System.String , System.String ) <0x12b5fb88 + 0x0002b> in <filename unknown>:0 
  at MedinectIPad.AppDelegate.FinishedLaunching (UIKit.UIApplication , Foundation.NSDictionary ) <0x12b5f000 + 0x00177> in <filename unknown>:0 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] , IntPtr , IntPtr ) <0x117e19b8 + 0x0002b> in <filename unknown>:0 
  at UIKit.UIApplication.Main (System.String[] , System.String , System.String ) <0x117e1918 + 0x00087> in <filename unknown>:0 
  at MedinectIPad.Application.Main (System.String[] ) <0xdfcc2f0 + 0x0022b> in <filename unknown>:0 
2016-03-07 19:38:04.150 MedinectIPad[9121:6639568] Unhandled managed exception:
The XML element named '' from namespace 'https://Medinect.net/EHealthConnectionWebService' is already present in the current scope. Use XML attributes to specify another XML name or namespace for the element. (System.InvalidOperationException)
  at System.Xml.Serialization.ClassMap.AddMember (System.Xml.Serialization.XmlTypeMapMember ) <0x12b79800 + 0x007ff> in <filename unknown>:0 
  at System.Xml.Serialization.XmlMembersMapping..ctor (System.String , System.String , Boolean , Boolean , System.Xml.Serialization.XmlMemberMapping[] ) <0x12b7c548 + 0x000b7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean , XmlMappingAccess ) <0x12b686a0 + 0x001c7> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean , Boolean ) <0x12b68648 + 0x00047> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean , Boolean ) <0x12b685f8 + 0x0003f> in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (System.String , System.String , System.Xml.Serialization.XmlReflectionMember[] , Boolean ) <0x12b685b0 + 0x00037> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapMethodStubInfo..ctor (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , System.Object , System.Xml.Serialization.XmlReflectionImporter , System.Xml.Serialization.SoapReflectionImporter ) <0x12b64e88 + 0x0089f> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo , System.Web.Services.Protocols.LogicalMethodInfo , Boolean ) <0x12b64b28 + 0x00127> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () <0x12b64738 + 0x000f1> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubInfo.Initialize () <0x12b64670 + 0x00012> in <filename unknown>:0 
  at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String ) <0x12b62a40 + 0x00103> in <filename unknown>:0 
  at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type , System.String ) <0x12b60c50 + 0x00027> in <filename unknown>:0 
  at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () <0x12b60350 + 0x0002b> in <filename unknown>:0 
  at DLLMedinect.EHealthConnectionWebService.Service..ctor () <0x12b60318 + 0x00013> in <filename unknown>:0 
  at EHealthConnectionWebServiceExt..ctor () <0x12b602f0 + 0x00013> in <filename unknown>:0 
  at DLLMedinect.Medinect..ctor (System.String , System.String , System.String , System.String , System.String ) <0x12b5fb88 + 0x0002b> in <filename unknown>:0 
  at MedinectIPad.AppDelegate.FinishedLaunching (UIKit.UIApplication , Foundation.NSDictionary ) <0x12b5f000 + 0x00177> in <filename unknown>:0 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] , IntPtr , IntPtr ) <0x117e19b8 + 0x0002b> in <filename unknown>:0 
  at UIKit.UIApplication.Main (System.String[] , System.String , System.String ) <0x117e1918 + 0x00087> in <filename unknown>:0 
  at MedinectIPad.Application.Main (System.String[] ) <0xdfcc2f0 + 0x0022b> in <filename unknown>:0 

In debug mode :

2016-03-07 19:39:54.752 MedinectIPad[9130:6646620] Xamarin.iOS: Established connection with the IDE (fd: 7)
2016-03-07 19:39:54.753 MedinectIPad[9130:6646620] Xamarin.iOS: Processing: 'start profiler: no'
2016-03-07 19:39:54.782 MedinectIPad[9130:6646587] Xamarin.iOS: Debugger loaded with custom transport (fd: 5)
2016-03-07 19:39:54.815 MedinectIPad[9130:6646587] Xamarin.iOS: Profiler not loaded (disabled)
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/Xamarin.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.dll [External]
Thread started:  #2
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/MedinectIPad.exe
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/DLLMedinect.dll
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/ActionTray.iOS-Unified.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/Xamarin.Mobile.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/Alliance.Charts.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/SQLite.Net.Platform.SQLCipher.XamarinIOS.Unified.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Xml.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Data.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Numerics.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Transactions.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Core.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/Mono.Dynamic.Interpreter.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/BouncyCastle.CryptoExt.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Web.Services.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/GlobalTools.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/StructuresLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/ComponentPro.Ftp.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/ComponentPro.FileSystem.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/ComponentPro.Common.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/ComponentPro.Network.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/ComponentPro.Zip.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/KmehrLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/TranslationLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/LaboLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/MedinectSQLLib.iOS.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/FreedelitySmartCard.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/Xamarin.Insights.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/PLCrashReporterUnifiedBinding.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Net.Http.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/BTProgressHUD.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/Newtonsoft.Json.dll [External]
Loaded assembly: /Users/alainrogister/Library/Developer/CoreSimulator/Devices/818D111A-DDC8-47A2-8253-4B299A45B28B/data/Containers/Bundle/Application/CF6C9F9C-8C34-4926-9127-91F9BD9E1D20/MedinectIPad.app/System.Runtime.Serialization.dll [External]
Thread started:  #3
2016-03-07 19:39:56.313 MedinectIPad[9130:6646587] Warning: PLCrashReporter has pending crash report
Resolved pending breakpoint at 'MultiUser.cs:19365,1' to bool DLLMedinect.Medinect.RecuperationDonneesMultiUtilisateur (string strLangueUtilisateur, string strNumeroINAMI, bool blErreurImportation) [0x0e756].
Resolved pending breakpoint at 'MultiUser.cs:17772,170' to bool DLLMedinect.Medinect.RecuperationDonneesMultiUtilisateur (string strLangueUtilisateur, string strNumeroINAMI, bool blErreurImportation) [0x09e8b].
Resolved pending breakpoint at 'ImportExport.cs:6075,125' to bool DLLMedinect.Medinect.GestionPrestation (int intUtilisateurID, string strLangueUtilisateur, string strNomPatient, string strPrenomPatient, string strDateNaissance, bool blErreurImportation, string strDateImportCourant, string strTypeQT, string strForme, string strRepas, string strDateMiseAJourMedical, string strCNK, string strCNKCluster, string strLocalID, int intMedicalID, int intTypeMedicalDetailID, int intRappelID, int intVaccinsID, int intEcheanceID, int intGroupeEcheanceID, int intPatientID, int intPrestationID, int intBiometrieID, int intAge, int intAnnee, int intNatureVaccinsID, int intDoseVaccinsID, int intGroupeVaccinsID, int intNumeroInjection, int intNumeroOrdonnance, int intEnteteOrdoID, int intDetailOrdoID, int intChronique, int intStatut, int intFormatDateDebut, int intFormatDateFin, int intSubstitution, int intTypeActe, string strDatePrestationCourante, string strDateInitiale, string strComplementPosologie, string strPosologie, decimal decQuantite, decimal decNombreJour, int intLienElementSoinsID, int intLienDemarcheID, bool blPrestation, bool blInsert, string strNomProduit, string strNumeroRecipe, System.Guid strGUID, KmehrLib.DataKmehr.Patient p) [0x0b8cb].
Resolved pending breakpoint at 'Configuration.cs:537,1' to bool DLLMedinect.Medinect.RestaurationDroitsUtilisateur (int intUtilisateurID, int intToutLocal) [0x00118].
Resolved pending breakpoint at 'AccesExterne.cs:2133,1' to int DLLMedinect.Medinect.LectureEmailEHealthBox (string strNumeroINAMI, string strNISS, string strPaswword, int intUtilisateurID, bool blXMLPresent, int intSuppressionMessageTotal, string strTailleBoite, string strMessageAttente, bool blLaboPresent, int intNombreFichierLabo, string strLangueUtilisateur) [0x00c55].
Resolved pending breakpoint at 'AccesExterne.cs:2040,1' to int DLLMedinect.Medinect.LectureEmailEHealthBox (string strNumeroINAMI, string strNISS, string strPaswword, int intUtilisateurID, bool blXMLPresent, int intSuppressionMessageTotal, string strTailleBoite, string strMessageAttente, bool blLaboPresent, int intNombreFichierLabo, string strLangueUtilisateur) [0x00a61].
Resolved pending breakpoint at 'AccesExterne.cs:2019,1' to int DLLMedinect.Medinect.LectureEmailEHealthBox (string strNumeroINAMI, string strNISS, string strPaswword, int intUtilisateurID, bool blXMLPresent, int intSuppressionMessageTotal, string strTailleBoite, string strMessageAttente, bool blLaboPresent, int intNombreFichierLabo, string strLangueUtilisateur) [0x009e7].
Resolved pending breakpoint at 'DossierPatient.cs:5169,1' to bool DLLMedinect.Medinect.ProlongationCLotureDMG (string strNumeroINAMI, string strPaswword, string strUtilisateur, int intUtilisateurID, string strErreurProlongation, string strErreurCloture, string strLangueUtilisateur, string strNISSUtilisateur) [0x00039].
Resolved pending breakpoint at 'eFact.cs:5699,1' to bool DLLMedinect.Medinect.RechercheErreurOA (int intCorrection, string strLangueUtilisateur, System.Collections.Generic.List<DLLMedinect.Medinect.ElementErreurFacturation> lstErreurFacturation, System.Collections.Generic.List<DLLMedinect.Medinect.ElementTableListeErreur> lstTableErreurFacturation, int intUtilisateurID, decimal decMontantPayeTotal, int intTotalAttestation, bool blTout) [0x00c1a].
2016-03-07 19:39:58.806 MedinectIPad[9130:6646587] <UIVisualEffectView 0x7d41a1f0> is being asked to animate its opacity. This will cause the effect to appear broken until opacity returns to 1.
Thread started: <Thread Pool> #4
Thread started: <Thread Pool> #5
Thread started: <Thread Pool> #6
Thread started: <Thread Pool> #7
Thread started: <Thread Pool> #8
Thread started: <Thread Pool> #9
Thread started: <Thread Pool> #10
Comment 7 Sebastien Pouliot 2016-03-09 20:19:06 UTC
No, the above comment comes from the "Application Output" pad of XS.

You'll find the "Build Output" inside the "Errors" pad. It's a button (if not already shown) that will show every step done while building your application. 

What we need to compare are how your application is being built for release and debug. Something likely differs from both, making one work while the other does not.
Comment 8 Alain 2016-03-16 12:02:38 UTC
Created attachment 15425 [details]
File Release Mode

I send you a file with the DEBUG MODE and a file with the RELEASE MODE.

I have always the same problem for the moment with this version
Comment 9 Alain 2016-03-16 12:03:47 UTC
Created attachment 15426 [details]
File DEBUG MODE

this is the file in DEBUG MODE.

I have this problem when I run the application not in compilation
Comment 10 Sebastien Pouliot 2016-03-16 13:14:36 UTC
Your "DEBUG MODE" document is full of references to

> /MacROGISTER/Projects/MedinectIOSMACOS/MedinectIOS/obj/iPhoneSimulator/Release/

which looks like it's a release build logs (and not the debug one that gives you a working app). Please attach the build log for the debug configuration.

> I have this problem when I run the application not in compilation

Yes, if it's not built with the same options (in release vs debug) then it won't execute identically. You are very likely having different settings (beside enabling debugging) across your two configurations.
Comment 11 Alain 2016-03-16 13:31:04 UTC
Created attachment 15427 [details]
Debug File

Hi,

this is the new file in DEBUG.

I put in this file the screen for the option in DEBUG and RELEASE mode.

Alain
Comment 12 Alain 2016-03-23 14:00:40 UTC
do you have news for me ?
Comment 13 Alain 2016-04-12 10:38:28 UTC
I have always the same problem ! Do you have a solution ?
Comment 14 Sebastien Pouliot 2016-04-12 17:55:30 UTC
From the build logs your settings looks identical. 

If the problem does not happen with the linker disabled (Don't link) then it's very likely a build difference (from source to .NET assemblies).

E.g. if you had some code under DEBUG that would make the linker keep some additional code (in debug, but not in release build).

It's also unclear why do you use the linker in the simulator builds ? (it's off by default as it makes simulator builds slower)

Our ability to help is limited without a test case that allow us to duplicate the issue by ourselves.
Comment 15 Alain 2016-04-12 18:29:52 UTC
I try :

I built the project "Will not Link" in Debug mode. it works. 

I built the project "Do not Link" in RELEASE mode. it works.

I built the project "Link ALL" in RELEASE mode, I have the problem that I have told you with a DLL that I built myself under Xamarin.IOS that contains a web service.

I have the same project builds "Link All" in release mode but adding mTouch argument --linkskip = DLLMedinect and there it works.

So from this version 9.8, there has been a change with the linker since I did not have this problem before.

I always put in LINK ALL DEBUG and RELEASE mode to be sure not to have any problems when I pass in RELEASE mode.

Can I compile it by putting --linkskip = DLLMedinect, is that I will not have performance issues?

Thank you

Alain
Comment 16 Sebastien Pouliot 2016-04-12 18:40:36 UTC
Short answer: No, application performance should be nearly identical


Long answer:

The linker is mostly a tool that affects the application size (not it's performance). There are a few optimizations (e.g. for bindings) that might have a positive performance impact (removed calls) but it will be small (if any) and hard to measure.

The default for device applications is to use "Link SDK" because Xamarin has tested the SDK to be linker-safe (e.g. avoid reflection or preserve code used by reflection). So normally "user code" is not linked.

When you use "Link all" then everything (SDK + user code) is linked. That's where you get the most benefits (mostly size) but it requires a bit more care to ensure that non-SDK code is linker safe.

If you're using "Link all" on everything, except a single assembly, then you're already doing a lot better than most applications :-)