Questions tagged [mkbundle]

mkbundle: tool to create bundles which is part of Mono open source ECMA CLI, C# and .NET implementation

mkbundle is a tool to create bundles

Based on the `make-bundle' Perl script written by Paolo Molaro (lupus@debian.org)

mkbundle.cs is part of mono project

Mono open source ECMA CLI, C# and .NET implementation.

Github: https://github.com/mono/mono/blob/master/mcs/tools/mkbundle/mkbundle.cs

mono project: http://www.mono-project.com/

81 questions
28
votes
1 answer

How to make "mkbundle --deps" option working with mono 3.2.3

I am trying to bundle the application with mono 3.2.3 to a stand-alone executable. To do so, I am following this guideline. After declarating variables: mono_version="3.2.3" export…
Tinki
  • 1,198
  • 15
  • 27
18
votes
3 answers

mkbundle on Mac with Mono: "mono/metadata/mono-config.h" file not found

I'm trying to create a Mac bundle with Mono. When I execute: mkbundle file.exe --deps -o FILE I get this during compilation: fatal error: "mono/metadata/mono-config.h" file not found Am I missing something?
user1190650
  • 2,559
  • 5
  • 24
  • 33
15
votes
1 answer

How to convert a simple .Net console project a into portable exe with Mono and mkbundle?

I'd like to convert my simple pure .Net 2.0 console utility into a portable exe which I could just put on an USB stick and run without having to worry whether the CLR and framework libraries are installed on a particular machine or not.…
Ville Koskinen
  • 1,256
  • 1
  • 14
  • 20
7
votes
3 answers

Can not compile simple C# application with mkbundle

I have written some console "Hello world"-like app. and have followed c# cywgwin mono mkbundle windows 7 - cannot compile file answer. But I have got: $ mkbundle -o Fur Furries.exe --deps -z OS is: Windows Sources: 1 Auto-dependencies: True …
7
votes
2 answers

Mono mkbundle throws 'IKVM.Reflection.BadImageFormatException'

I've been trying to compile or bundle my application using mkbundle. This is the script I'm executing: set -o errexit set -o nounset mono_version="3.2.3" export…
Stijn Bernards
  • 1,095
  • 11
  • 29
5
votes
1 answer

Distribute application without installing mono

I want to distribute my c# application to each computer on a linux cluster so that I can run it without having to install mono on each computer. I have spent hours trying to get mkbundle to work, but it doesn't bundle properly (I am unable to run…
gentuba
  • 103
  • 1
  • 1
  • 5
5
votes
1 answer

How can I bundle a Mono / GTK# application on Linux?

Here's the problem I'm running into: I wrote a Gtk# program using MonoDevelop and it runs great. But now I want to be able to run it on other Linux boxes without having to install MonoDevelop. My solution has two projects: the main Gtk# application,…
soapergem
  • 7,597
  • 16
  • 79
  • 124
5
votes
3 answers

Create C# executable with mkbundle on windows

Im trying to create an executable from a console application. I have installed mono,cygwin (mingw-gcc, mingw-zlib1, mingw-zlib-devel, pkg-config) and I have added the following lines to my .bashrc file export…
user962284
  • 630
  • 1
  • 11
  • 28
5
votes
2 answers

How can I convince mkbundle to include MonoPosixHelper?

I'm using mkbundle and trying to create an embedded version of a little program IdaTester that uses Isis2. That system in turn uses features from Mono that depend on MonoPosixHelper My problem is that mkbundle doesn't recognize the dependency and I…
Ken Birman
  • 1,021
  • 8
  • 22
4
votes
1 answer

Problems while creating a Linux-executable file from C# sourcecode using mkbundle

As mentioned in this thread as well as here I am using mkbundle -o newfile oldfile.exe --static (OS: Ubuntu 11.10 64bit, Mono: 2.10.5) to create a file which shall be executable on an Apache Web Server (OS: Debian GNU/Linux 32bit). Here, the…
tyrex
  • 5,602
  • 10
  • 28
  • 42
4
votes
1 answer

mkbundle produces non-functional console exe

I can successfully build a bundled exe from my MonoDevelop C# project, but when I run the bundle, it doesn't do anything; execution is terminated immediately and silently. What am I doing wrong? I'm using Mono 2.10.5 on 64-bit Windows 7 with cygwin…
Ben
  • 1,142
  • 9
  • 25
4
votes
1 answer

An issue when running mono 2.10.2 mkbundle on Mac OS X snow leopard

This page has info about Bundles with mkbundle, but when I tried to use it on Mac, I got this error message. delegate> mkbundle delegate.exe -o delegate OS is: Darwin Sources: 1 Auto-dependencies: False embedding:…
prosseek
  • 155,475
  • 189
  • 518
  • 818
4
votes
0 answers

Using mkbundle for a WinForms app on a mac throws "Unable to load assembly Mono.WebBrowser"

So far to run my winforms app using mono I'm using terminal and --arch=32 to force the app to run in 32bit. Otherwise I get the message that most of winforms won't work on 64bit. However, I would like to create a bundle for my app so that enduser…
Avalyah
  • 61
  • 1
  • 2
4
votes
2 answers

On Windows, mkbundle fails with linker error

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…
Lansatac
  • 51
  • 5
4
votes
0 answers

MKBundled Mono Exe checking for Dependency in Library Folder

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 …
techno
  • 5,373
  • 13
  • 65
  • 146
1
2 3 4 5 6