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
2
votes
0 answers

C# winforms Mono mkbundle - 'as' is not recognized as an internal or external command, operable program or batch file

I've been attempting to get my C# winforms application to run on Linux and Mac using Mono. The program runs and works fine using: mono However, I would like to package Mono with the program, so I've been using the mkbundle command. My…
darthmorf
  • 168
  • 12
2
votes
0 answers

Using Mono's mkbundle to cross-compile for ARM from linux

I'm trying to use Mono's mkbundle tool to compile a native app for ARM (RaspberryPi) from an AMD64 system (Ubuntu 14.04 running in a VM). Mono version is 4.4.2.11 (latest, at time of doing this), installed from Mono's package repository, but also…
gregmac
  • 24,276
  • 10
  • 87
  • 118
2
votes
1 answer

how to build pkg for mac console app with mkbundle --static flag

I have written a console Mac utility using Xamarin Studio. I then created a bundle using: mkbundle myapp.exe *.dll -o myapp --deps pkgbuild --analyze --root Release name.plist pkgbuild --root Release --component-list name.plist --sign "john doe"…
brewsky
  • 607
  • 1
  • 9
  • 15
2
votes
1 answer

After packaging with mkbundle2, the destination machine is complaining about libmono.so. Why?

I thought the purpose of mkbundle2 was to allow a machine without mono installed to run a mono application. But it does not seem to be packaging libmono.so. I am not sure if it is supposed to or not, but the destination machine is complaining that…
Fantius
  • 3,806
  • 5
  • 32
  • 49
2
votes
2 answers

How is Mono AOT / mkbundle used and optimized? (for reducing VM startup latencies)

I'd like to see if I can reduce VM latencies by using Mono's AOT (ahead of time compiler). How does one run the .so files? (Sorry this is question is so rudimentary; I couldn't find a simple answer on Mono's documentation). I figured out how to use…
gatoatigrado
  • 16,580
  • 18
  • 81
  • 143
2
votes
1 answer

mkbundle does not find dependencies from current directory

I am trying to create a bundle for my .net application using Mono on Linux. when I execute the mkbundle command as below - $>mkbundle -o ConsoleApp ConsoleApp.exe --deps OS is: Linux Sources: 1 Auto-dependencies: True Unhandled…
Omkar
  • 2,129
  • 8
  • 33
  • 59
2
votes
2 answers

Mono 3.4.0 mkbundle under Mac OS X failed

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…
2
votes
1 answer

Mono c# console app, create standalone with mkbundle errors

Trying to create a standalone app for console that will work on Linux, working environment is on Mac os x 10.7. 1.) Open Monodevelop and create new solution, a "C# Console Project". 2.) Build the app, the exe will be created in bin/Release…
Backer
  • 121
  • 1
  • 2
  • 10
2
votes
1 answer

Bundled GTK# application won't run on new Win7 install

I made a C# GTK# application in MonoDevelop for a college assignment only to discover that it won't run on the college computers because we don't have admin rights to install the GTK# or Mono libraries. After some research, I discovered the…
Excrubulent
  • 467
  • 7
  • 15
2
votes
2 answers

mkbundle combined DLL causes Invalid Metadata exception when referenced in other projects

I have a .NET 4.0 solution with about 10 projects that I am successfully compiling on mono 2.10.8.1 on Ubuntu Desktop 12.04, which is running in a VM. I am trying to run mkbundle to combine all 10 DLLs into a single DLL that I can then reference in…
karlgrz
  • 14,485
  • 12
  • 47
  • 58
1
vote
1 answer

Mono application in a Mac fails with "System.MissingMethodException: Default constructor not found for type System.Configuration.ExeConfigurationHost"

This code is basically making an HTTP call, when it tries it, it just fails but only when the application is packaged as a Mac application, this does not happen when I run the application inside of MonoDevelop. Anyone has any hints of what this…
Maurício Linhares
  • 39,901
  • 14
  • 121
  • 158
1
vote
0 answers

netstandard problem in mkbundle f. mono-6.6.0-ubuntu-18

VS Windows 2022 17.1. I have an xamarin app that runs on Android, iOS, macOS and UWP. Now I added a GTK project following this description I want to create a self-contained bundle. To do that I run mkbundle TimeDateCalculator.gtk.exe --simple -o…
Eigil
  • 21
  • 2
1
vote
0 answers

mkbundled application error when mono is installed

Starting our application on a client's machine where mono is not installed works. But the application fails to start, with the following error, on the same machine if mono is installed Unhandled Exception: System.TypeInitializationException: The…
skarack
  • 11
  • 1
1
vote
0 answers

Unable to run mkbundle on mono application under Linux

I have just discovered mkbundle, and was hoping to use it to make my mono application into a single executable that could be run on a Linux machine without installing Mono. I get loads of error messages, like this: -bash-4.1$ mkbundle -o…
Nikki Locke
  • 2,759
  • 6
  • 29
  • 53
1
vote
3 answers

Trying to run a mono bundled program, but getting missing libgdiplus exception

I am currently trying to get my C# program to run on Linux. Using mono on my Linux machine, the program runs fine. So I used mkbundle and it all compiled and such correctly. But when I try to run the bundled program on any other Linux machine I get…
gentuba
  • 103
  • 1
  • 1
  • 5