Ich habe mkboundle benutzt, um eine exe für ein Mono-Projekt zu erstellen. Ich starte mkboundle mit den Parametern --deps und --static auf einem Container basierend auf mono: 3.10.DLLs zum Einbinden in mkboundle zum Erstellen einer Standalone-Exe für debian: wheezy
mkbundle --deps --static ./Gestion.Industry.NancyHost.exe <other dlls>... -o pp2
Dann kann ich die Standalone EXE auf Container auf mono basierend verwenden: 3,10 (Seif oder/mono, basierend auf DEBIAN: wheezy), aber nicht auf einem Behälter, basierend auf debian: wheezy ohne mono. Es scheint, dass es immer noch Abhängigkeiten von Mono gibt. Dies ist der Fehler, den ich erhalte:
Unhandled Exception:
System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. --->
System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <startup>(/usr/src/app/Gestion.Industry.NancyHost.exe.config line 30)
at System.Configuration.ConfigInfo.ThrowException (System.String text, System.
Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x00000] in <filename unknown>:0
at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) [0x00000] in <filename unknown>:0
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in <filename unknown>:0
at System.Configuration.Configuration.Load() [0x00000] in <filename unknown>:0
Vielen Dank im Voraus