I create my application as follows:
mkbundle --static -o de --deps DeviceEmulator.exe
UnionArgParser.dll Emulators.dll NLog.dll Protocol.dll
FSharpx.Core.dll
When i run. / de on the same computer, the application works fine. But when I copy to another machine (I use the lxc container) and start, I got an error:
Exception: System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. System.Configuration.ConfigurationErrorsException: unrecognized configuration section (/home/ubuntu/tests/device/DeviceEmulator.exe.config line 3)
Adding
I found a solution myself. You must pass the parameter --machine-config <path to my mono/runtime/etc/mono/4.0/machine.config>when typing. This is a bug issue.
source
share