[MonoDevelop] Portable Monodevelop/Mono Distribution [Successful]

anidotnet anidotnet at gmail.com
Fri Aug 27 10:06:13 EDT 2010

Yeppiee!!! Michael thanks a lot to you for your help. I have one good news
and a bad news.

The good news is I have successfully changed all the batch files in mono
directory to make it portable and currently I am able to run Monodevelop on
Mono using a launcher and able to compile a "Hello World" program also. What
I have done is as follows

1. Installed .Net 3.5 sp1, Mono, GTK#, Monodevelop in a machine, putting all
mono products under a root folder called mono.
2. Took another machine where only .Net 2.0 is installed. Took all the
contents in mono from the 1st machine.
3. Wrote a small program which changed all the absolute paths into relative
paths in the bat files (e.g. @"C:\PROGRA~1\Mono\bin\mono.exe" %MONO_OPTIONS%
"C:\PROGRA~1\Mono\lib\mono\1.0\disco.exe" %* becomes %~dp0mono.exe
%MONO_OPTIONS% %~dp0..\lib\mono\1.0\disco.exe %*)
4. Wrote a small launcher for monodevelop using the following command

echo off
call %~dp0\bin\setmonopath.bat
%~dp0\bin\mono.exe %MONO_OPTIONS% %~dp0\MonoDevelop\bin\MonoDevelop.exe

5. Using this launcher I am able to run Monodevelop on the system without
installing anything. 

The bad news is I am facing a weird problem while running the compiled
"Hello World" app using MD. First of all I am not seeing any Console Window
or any kind of Output message saying "Hello World" like we see when we run
it from VS or SD and when next time I am running the app from MD it says,
"An Application is already running. Do you want to stop it?" I have no idea
why it is behaving such a way. Any clue can you give me?

View this message in context: http://mono.1490590.n4.nabble.com/Portable-Monodevelop-Mono-Distribution-tp2333717p2341134.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

More information about the Monodevelop-list mailing list