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

Visual Studio 2019 mkbundle not found, but I already installed mono and GTK

Visual Studio 2019 mkbundle not found, but I already installed mono and GTK Img mkbundle: The name "mkbundle" is not recognized as the name of a cmdlet, function, script, or executable program. Check the spelling of the name, as well as the presence…
0
votes
0 answers

how to make an executable file targeting macOS which is simple console app written in c#?

I want to make an executable file targeting macOS that runs without the need for a mono framework or other runtimes for it to run. The executable file that I want to create is written in C# using visual studio for Mac. I managed to build it with…
0
votes
1 answer

Running .Net Framework application on xp without .Net installed

I’ve got an application written in .Net Framework 4.0, that I need to be able to run on Win xp sp3 without .Net installed. I’ve found that using mono and mkbundle --static --deps, I can achieve what I need (if I understand it correctly). So I…
Speerit
  • 186
  • 6
0
votes
0 answers

Inconsistencies with RuntimeInformation OS checks when using mkbundle

I'm using RuntimeInformation.IsOSVersion(OSPlatform.Linux) to detect whether the operating system that the application is being run on is Linux or not. When simply building a .exe using Mono (Ubuntu Xenial), and running it with mono example.exe,…
Larry Tang
  • 642
  • 5
  • 23
0
votes
0 answers

Bundled .NET application on Windows XP

I know that Windows XP is out of support for a long time now, but we still have customers using machines that they cannot update to a more recent OS. We now want to write a new application and while there's always the option to go with a statically…
knurd nerd
  • 304
  • 2
  • 15
0
votes
0 answers

Statically linking Mono using mkbundle in Windows

I'm having trouble statically linking Mono using mkbundle in Windows. In my attempts to figure out what's going on I hit a wall. When you pass the static flag to mkbundle in windows it looks for the file monosgen-2.0-static.lib in the mono…
user3078629
  • 139
  • 1
  • 2
  • 9
0
votes
1 answer

mkbundle and MEF

I have written an app that runs on my target Linux BeagleBone Black with Debian 8 derived OS. It will run if I install the whole mono-runtime. This is too big for the final targets that I will be running it on. I would like to use mkbundle to create…
user856232
  • 1,073
  • 2
  • 14
  • 40
0
votes
2 answers

Cross compiling issues with mkbundle in Mono

I facing some issues while trying to use the new cross-compile/linking feature on Mono Linux, with the mkbundle tool. I'm using Linux Mint 14.04 32 bit in a Intel x86 environment and I would like to create a static binary using mkbundle for 64bit…
Carles
  • 418
  • 2
  • 18
0
votes
1 answer

mkbundle System.ComponentModel.Win32Exception error

I'm trying to bundle an application I've made in monodevelop on archlinux. Once I build the application in monodevelop I go to make a bundle with the following command: mkbundle --deps file.exe --static But the output is: OS is: Linux Note that…
Will G
  • 101
  • 2
  • 11
0
votes
1 answer

Mono mkbundle on Mac OS X 10.7

I'm trying to get the mkbundle tool working on Mac OS X 10.7. I installed XCode 5, a handful of different Mono versions, going from v2 to v4. Everytime I try to compile my code I get a sh: as: command not found When I try to find this command, its…
Lennard Fonteijn
  • 2,561
  • 2
  • 24
  • 39
0
votes
2 answers

Deploy .Net Application created by mono mkbundle on OSX without mono runtime

I am trying to create package for deployment of .Net Application that compiled using mono 3.10.0 and mkbundle The mkbundle command line: mkbundle --deps -o $V_OUTPUT_FILE_NAME $V_Target_FILES Package is created, but when i run it on machine…
Liran Haim
  • 81
  • 1
  • 1
  • 5
0
votes
1 answer

Mono's mkbundle on Linux breaks XSockets application with XSockets.Plugin.Framework.Composable --> DirectoryNotFoundException

I am working on a self-sustaining web application by embedding servers into it. One of the servers is a WebSocket server powered by XSockets. If I xbuild the solution and then mono Application.exe - works as expected. If I then mkbundle --deps -o…
tomsseisums
  • 13,168
  • 19
  • 83
  • 145
0
votes
1 answer

Mono C#: mkbundle'd "Hello World" script executes with only the exit code "11" on a web server

I'd like to run Mono(C#) code on a Web server that does not have Mono Runtime installed. Since mkbundle is able to produce native code, I am first trying to get a plain "Hello World" script to work on both sides, which runs locally but not on the…
Pendrokar
  • 132
  • 9
0
votes
1 answer

mkbundle with mono 2.0

I've spent a considerable amount of time trying to make a bundle with mono. I can run the program just fine saying mono program.exe but when I say mkbundle --deps -o test test.exe It outputs OS is: Linux Sources: 1 Auto-dependencies: True …
Chris
  • 6,642
  • 7
  • 42
  • 55
0
votes
1 answer

mkbundle won't embed assembly with accompanying netmodule

I'm trying to mkbundle a Mono app, and it includes a reference to Saxon assemblies. No issues with saxon9.dll, but when I try to include saxon9api.dll it won't build: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or…
Cocowalla
  • 13,822
  • 6
  • 66
  • 112