mkbundle

MKBundled Mono Exe checking for Dependency in Library Folder

眉间皱痕 提交于 2019-12-06 05:48:49
问题 I have bundled an Exe with Mono in Mac using export AS="as -arch i386" export CC="cc -arch i386 -framework CoreFoundation -lobjc -liconv" export PATH=/Library/Frameworks/Mono.framework/Versions/4.0.3/bin:$PATH mkbundle -- static myapp.exe MonoMac.dll --deps -o myapp It successfully produces the native application myapp. I copied the lib directory from mono folder and pasted it on desktop because the app uses GTK for User Interface. I'm trying to launch the application using the following

How to use SSL with HttpListener with an mkbundle'd Mono app

浪尽此生 提交于 2019-12-06 05:12:07
问题 I have a .NET application built with Mono, that I've bundled into a native (Linux) executable using mkbundle . This is so that end users don't need to mess around and install Mono themselves. The application uses ServiceStack, which under the hood uses HttpListener . I need the web services to be exposed over an SSL-enabled HTTP endpoint. Normally, you would run something like httpcfg -add -port 1234 -p12 MyCert.pfx -pwd "MyPass" during configuration (all this really does is copy the

Mkbundle Mono Assembly binding redirection

混江龙づ霸主 提交于 2019-12-05 12:19:30
I have a sample .NET application that runs fine on windows, and my Ubuntu environment using mono. I am trying to use Mkbundle to create a single native assembly so I can docker containerize it using busybox and keep the size small instead of the usually huge bloated containers. The problem I am running into is with Json.net, I think its due to assembly binding redirection from the app.config file, anyone else ran into this? <?xml version="1.0" encoding="utf-8"?> <configuration> <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" /></startup> <runtime> <assemblyBinding

Does mono application bundled with mkbundle use app.config?

人走茶凉 提交于 2019-12-05 01:34:30
问题 I build my application like this: mkbundle --static -o de --deps DeviceEmulator.exe UnionArgParser.dll Emulators.dll NLog.dll Protocol.dll FSharpx.Core.dll When i run ./de on same machine application works fine. But when i copy to other machine (i use lxc container) and start i got an error: Exception: System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. System.Configuration.ConfigurationErrorsException: Unrecognized configuration section (/home

Mkbundle failed to compile C# application on OS X

落爺英雄遲暮 提交于 2019-12-04 19:07:20
I've been at this for a few days now and whilst I fairly quickly managed to get Mono's mkbundle to create a native executable on Windows and Linux I haven't been able to do the same for OS X. I'm using Mono 3.4.0 as I need .NET 4.5 support and being able to compile for x86_64 on OS X would be nice too. I currently use the following simple bash script to attempt the mkbundle build: #!/bin/bash export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/pkgconfig #PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/pkgconfig

How to use SSL with HttpListener with an mkbundle'd Mono app

笑着哭i 提交于 2019-12-04 11:22:22
I have a .NET application built with Mono, that I've bundled into a native (Linux) executable using mkbundle . This is so that end users don't need to mess around and install Mono themselves. The application uses ServiceStack, which under the hood uses HttpListener . I need the web services to be exposed over an SSL-enabled HTTP endpoint. Normally, you would run something like httpcfg -add -port 1234 -p12 MyCert.pfx -pwd "MyPass" during configuration (all this really does is copy the certificate to a specific path), and HttpListener would automatically bind the certificate to the port. So

MKBundled Mono Exe checking for Dependency in Library Folder

我是研究僧i 提交于 2019-12-04 10:16:54
I have bundled an Exe with Mono in Mac using export AS="as -arch i386" export CC="cc -arch i386 -framework CoreFoundation -lobjc -liconv" export PATH=/Library/Frameworks/Mono.framework/Versions/4.0.3/bin:$PATH mkbundle -- static myapp.exe MonoMac.dll --deps -o myapp It successfully produces the native application myapp. I copied the lib directory from mono folder and pasted it on desktop because the app uses GTK for User Interface. I'm trying to launch the application using the following script.sh VAR=`pwd` export DYLD_FALLBACK_LIBRARY_PATH="$VAR/lib:/usr/lib" ./myapp The app successfully

Mono 3.4.0 mkbundle under Mac OS X failed

半城伤御伤魂 提交于 2019-12-02 02:57:08
I`m trying to make static binary under MAC OS X 10.9 (Mavericks) which is not require mono runtime. This is almost clean machine with the latest updates and the latest XCode. If I do not set the build architecture, I have the following: mkbundle client-patcher.exe -o client-patcher OS is: Darwin Sources: 1 Auto-dependencies: False embedding: /Users/radubalan/tmp/client-patcher.exe Compiling: as -o temp.o temp.s cc -g -o client-patcher -Wall temp.c `pkg-config --cflags --libs mono-2` temp.o ld: warning: ignoring file /Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libmono-2.0.dylib, file

On Windows, mkbundle fails with linker error

爱⌒轻易说出口 提交于 2019-12-01 08:32:37
I am trying to build a console utility that needs to be run in environments that may not have .NET installed. Mono's mkbundle seems to be a great solution for this problem, but when running mkbundle (Mono 4.6.1.3) on Windows 10 via cygwin on a trivial project, this is the output I receive: $ mkbundle --deps mkbundleTest.exe -o test.exe OS is: Windows Sources: 1 Auto-dependencies: True embedding: C:\Users\Jason\Documents\mkbundleTest\mkbundleTest\bin\Debug\mkbundleTest.exe config from: C:\Users\Jason\Documents\mkbundleTest\mkbundleTest\bin\Debug\mkbundleTest.exe.config embedding: C:\Program

C# program doesn't work under mono in Linux.

陌路散爱 提交于 2019-12-01 02:34:14
I am trying to make my program written in Visual C# 2010 work on Linux. For that, I have used mkbundle feature, so that potential client doesn't have to install mono. Unfortunately I am not knowledgeable about Linux or Mono, so I have just followed this: c# cywgwin mono mkbundle windows 7 - cannot compile file But for some reason mkbundle writes [FAIL] in the end, saying something about "No such file or directory". I have pasted the full text below. Does anybody know how to solve this? $ mkbundle -o MyProgram MyProgram.exe --deps OS is: Windows Sources: 1 Auto-dependencies: True embedding: C: