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
1
vote
0 answers

mkbundle generated binary causes SIGSEGV on ARMv7h, while running fine in Mono

I'm currently testing Mono in archlinux on ARMv7h. For a start, I tested this simple program: // test.cs using System; public class Test { public static void Main(string[] args) { Console.WriteLine("I'm working."); } } I use Mono as a…
turbo
  • 1,233
  • 14
  • 36
1
vote
2 answers

after using mkbundle2, destination machine can't find libmono.0.dylib

I have a very simple .NET commandline application that I want to port to OS X. I can run it with "mono app.exe" However, the destination machines won't have mono installed. So, I wanted to bundle mono inside the app. In order to do this, I used…
kclement
  • 182
  • 1
  • 13
1
vote
0 answers

mkbundle cannot find gtk-sharp assembly on ubuntu

I'm trying to create bundle for my app made with monodevelop on Ubuntu 14. When i execute mkbundle myapp.exe --deps -o myapp error is thrown Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp' or one…
onedevteam.com
  • 3,838
  • 10
  • 41
  • 74
1
vote
0 answers

Missing libc after using mkbundle

I have a C# application developed using mono 3.0.6. Everything works perfectly. I need to deploy this application to production desktops where I'm not allowed to install mono. So, I decided to use mkbundle, using the command mkbundle -o myprog…
Nilo Paim
  • 428
  • 6
  • 22
1
vote
1 answer

Mkbundle failed to compile C# application on OS X

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…
S.Richmond
  • 11,412
  • 6
  • 39
  • 57
1
vote
1 answer

Assembly not being loaded from mkbundle'd executable

I'm mkbundling a bunch of assemblies, including ServiceStack.Text. When running mkbundle, it tells me it's being embedded: embedding: /home/user/Verisys/build/ServiceStack.Text.dll However, when I try to run the resulting executable, I get…
Cocowalla
  • 13,822
  • 6
  • 66
  • 112
1
vote
2 answers

Using Mono mkbundle To Target SGEN Garbage Collector

Is it possible to bundle a Mono executable using mkbundle that uses the sgen GC? I assume that because the produced bundle requires the libmono-2.0.so.1 instead of the libmonosgen-2.0.so that it is using the standard boehm GC. I have tried using…
drg
  • 83
  • 1
  • 10
1
vote
2 answers

Compile C# Application to native executable

I know that this question came up a few times before, but i could not find an answer for our simple case: Is there a free tool which compiles a small .NET C# application into a native executable? What i found so far are expensive tools which strip…
thalm
  • 2,738
  • 2
  • 35
  • 49
1
vote
1 answer

How can I tell if my application has been bundled with Mono instead of executed with Mono?

How do I check whether my application has been started with mono (mono MyProgram.exe) or if it has been bundled with the mono runtime embedded using mkbundle or similar?
PhonicUK
  • 13,486
  • 4
  • 43
  • 62
1
vote
1 answer

Exception when using mkbundle(mono) to compile Simple Winforms Application

I have tried using mkbundle --deps f.exe -o d.exe But exceptions are thrown I get the following errors embedding: I:\f.exe embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.dll embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\mscorlib.dll …
techno
  • 6,100
  • 16
  • 86
  • 192
0
votes
2 answers

Mono Runtime need to be bundled with Mono Winform app for Mac

I am new to development on Mac. I migrated one Windows Form App that I have created using C# on Windows platform. I am able to run this app on Mac inside MonoDevelop and run inside IDE without problem. Now, I like to create setup that will include…
0
votes
1 answer

Skipping incompatible library (mkbundle)

I have a .Net program, which works fine using "mono Program.exe", but now I am trying to use "mkbundle -o prog Program.exe --deps" on the SAME machine, and it returns the following error: /usr/bin/ld: skipping incompatible …
Tofig Hasanov
  • 3,303
  • 10
  • 51
  • 81
0
votes
1 answer

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

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…
Tofig Hasanov
  • 3,303
  • 10
  • 51
  • 81
0
votes
0 answers

Bundling necessary .dyLibs and DLLs for an macOS App using Embeddinator - 4000

I am building a macOS app with an '.Framework' inside it. The '.Framework' is built using the 'Mono.framework'. I have to bundle the necessary .dyLibs and DLLs in the app before deploying the it to the user's machine. I am using this script in Xcode…
iBuilt
  • 181
  • 1
  • 1
  • 9
0
votes
2 answers

mkbundle and GTK#

I'm trying to use mkbundle so that I can distribute a GTK# application without users needing to install .NET/Mono or GTK#. I've successfully bundled an application which uses winforms, but for some reason when I do the same with a GTK# application…
Joe
  • 726
  • 1
  • 8
  • 18