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
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
  • 6,100
  • 16
  • 86
  • 192
4
votes
3 answers

Mkbundle Mono Assembly binding redirection

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…
user1689716
  • 389
  • 5
  • 12
4
votes
0 answers

Does mono application bundled with mkbundle use app.config?

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…
couchemar
  • 1,927
  • 19
  • 22
3
votes
1 answer

C# application built with mkbundle doesn't work

I am trying to build this C# program using MkBundle so that users can run it on Linux without having to install Mono. But I keep getting an error when trying to use the program that is built. Steps to reproduce: Git clone this…
Nicholas DiPiazza
  • 10,029
  • 11
  • 83
  • 152
3
votes
0 answers

mkbundle crashing in MakeBundle.QueueAssembly - null reference exception

I have been trying to bundle our ink compiler using mkbundle. Here's how I run it: mkbundle --static --sdk /Library/Frameworks/Mono.framework/Versions/Current --deps inklecate.exe ink-engine-runtime.dll -o inklecate_mac ...but I get crash with the…
Joseph Humfrey
  • 2,974
  • 2
  • 23
  • 34
3
votes
0 answers

Creating statically compiled binary using mono mkbundle tool while using

I am trying to produce a statically compiled binary using mkbundle but am having problems when it comes to dependencies that use a in config file. If the --deps option is supplied mkbundle attempts to load referenced assemblies…
Eugene K
  • 31
  • 2
3
votes
2 answers

c# cywgwin mono mkbundle windows 7 - cannot compile file

I'm trying to follow the following post to build a c# app with mono embedded, using cygwin. I am following the guide here: How to convert a simple .Net console project a into portable exe with Mono and mkbundle? The error I am receiving is: "gcc:…
frank
  • 495
  • 1
  • 7
  • 13
3
votes
2 answers

Mono mkbundle on OSX

I'm trying to create a standalone of my C# app using mono's mkbundle, I got Xcode installed and the Mono Developer Kit too (I'm sure it's MDK not the runtime). Yet I run mkbundle using mkbundle test.exe and I get these errors Compiling: as -o temp.o…
Duxducis
  • 317
  • 4
  • 17
2
votes
0 answers

Failed to mkbundle Mach-o executable that can be run and codesigned successfully on MacOS

I'm facing a dead end trying to create MacOS mach-o executable that works. created simple console application in visual studio; simple.exe I've tried 2 routes with mkbundle: using mkbundle the 1. the old (--custom) way: after setting extra CC…
Assem
  • 516
  • 3
  • 10
2
votes
0 answers

Problems using mkbundle to make a self contained application with GTK

I would like to expose this problem to the stack overflow community to see if anyone can give me some input on how to fix this problem. The main objective here is to use Mono's mkbundle tool in order to create a self contained binary that will be…
2
votes
1 answer

Mono mkbundle tool unable to create binary with complaint that output file is unavailable

As per suggestions from this thread on running C# apps sans .NET I've compiled my app using mono. I built the original app using the latest Visual C# .NET Express Edition. It runs fine on .NET on Windows. I then opened up Cygwin and navigated to…
Brian Sweeney
  • 6,693
  • 14
  • 54
  • 69
2
votes
1 answer

Mono on Linux: mkbundle does not find shared libraries

I have a small C# application that I want to turn into a native executable binary. csc Foo.cs runs without warnings and I can run the application without problems as such: mono Foo.exe. When I start mkbundle however, I get this error: $ mkbundle…
Turysaz
  • 80
  • 1
  • 7
2
votes
0 answers

mscorlib.dll was not found on target when using --static option in mkbundle

Posting here as a last resort. Welcome all support. I am attempting to cross compile a standalone mono app for armv5tejl target device that I cannot modify the OS or system folders. The target device response when executing the output (executable…
twgcim1
  • 21
  • 3
2
votes
0 answers

Mono: mkbundle fails to create binary with errors

I am experimenting with mkbundle I have a simple addApp.exe file which calls a method from addition.dll I am trying to create a binary for powerpc linux hardware target. I have mono compiled with eldk-toolchain for powerpc and using the mkbundle…
Knishitosh
  • 21
  • 3
2
votes
1 answer

Result of mkbundle throws "Symbol not found: _kCFLocaleCountryCode"

I'm trying to make a bundle of a simple fsharp code on mac OS X v. 10.12.1, and I get an error, when I run the result. The references to similar _kCFLocaleCountryCode errors that I can find, does not seem to match my problem. Any help would be much…