[MonoDevelop] Running a Mono application without Mono installed?

Quandary quandary82 at hailmail.net
Tue Oct 26 06:12:43 EDT 2010


  http://www.mono-project.com/Embedding_Mono
if you need a specific version of mono.

But what you are looking for is probably writing a .deb file which 
installs mono before it installs your program, via apt-get.
So  you should head to:
http://ubuntuforums.org/forumdisplay.php?f=44
for info on how to write a debian/ubuntu package.

Otherwise, you can always write your program in C/C++, that way you 
don't require mono  (= .NET framework).
But that's something you find in KDevelop, not MonoDevelop.
apt-get install kdevelop build-essential g++ gcc kernel-package make 
autoconf scons

Am 26.10.2010 11:43, schrieb raz3r:
> So I was right, is there any chance to merge the program with Mono? Maybe I
> can add "sudo apt-get install mono" before running the script? Will it work?
> Sorry if I ask but actually I am noob with Linux :/


Am 26.10.2010 11:32, schrieb raz3r:
> I am developing a C# Console Application with MonoDevelop IDE and I've
> created the Tar Package to deploy the project. I see that the Tar Archive
> contains an *.sh file:
>
> #!/bin/sh
>
> exec mono "./FWCreatorServer.exe" "$@"
>
> That means that there must be Mono installed on the machine in order to run
> my program right?
>
> If so is there a way to merge my program with a clean installation of Mono?
> Or do I have to manually install Mono before installing my program? Consider
> that my program should run like a "Windows service", I mean I start Linux
> and my program starts automatically in the background.
>
> Otherwise is there a way to create a "Linux" executable that does not need
> Mono? I don't see any options in MonoDevelop IDE, just Create Package.



More information about the Monodevelop-list mailing list