Hi Stifu, > You don't even need to recompile your code with MonoDevelop for it to work > on Linux. You can just use the exe directly. This means you can just stick > to a single IDE.
> To run the exe, the most basic way to do it is through command line: "mono > myapp.exe" > Personally, I like to right click the exe and to select to run it with Mono > (an option that may not be there by default, but which will stick after > you've used it once, by selecting mono among the installed applications). I tried your advice without success. I have an .exe and a .dat files which work on Vista without problem. The .exe file was created on CSharp. I copied them to the desktop of a Linux PC (Debian 5.0). MonoDevelop and gtk-sharp2 have been installed. On cosole: $ mono Desktop/.exe No response and no complaint On Home Folder; right-click .exe -> Open with "mono" popup following warning; Fatal Error System ArgumentOutOfRangeException. Argument is out of range Parameter name: index at System Collections Generic List`1 [System String get_item (int32 index) [0x00000].... ... Can't proceed further. satimis ----- Original Message ---- From: Stifu <[email protected]> To: [email protected] Sent: Mon, April 12, 2010 12:02:29 AM Subject: Re: [Mono-list] Seeking advice on using monodevelop to learn CSharp Solutions (sln), projects (csproj) and last but not least: C# code; it's all exactly the same regardless of the IDE. There is nothing to recode, whether you started with Visual Studio or MonoDevelop. You can open a Visual Studio project in MonoDevelop, and vice versa. You don't even need to recompile your code with MonoDevelop for it to work on Linux. You can just use the exe directly. This means you can just stick to a single IDE. To run the exe, the most basic way to do it is through command line: "mono myapp.exe" Personally, I like to right click the exe and to select to run it with Mono (an option that may not be there by default, but which will stick after you've used it once, by selecting mono among the installed applications). Look around the net for more information. sai ram wrote: > > My Doubt is : > > 1. Assume, I created one Big App (1000 lines of code) in VS2008 Win Form > Application on Windows. I installed MONO for VS2008 and executed > successfully. > 2. Now i want to run that files in SUSE Linux. > > For the 2nd Option, What I have to do in this foll options .... ? > > a. Install MonoDevelop (on windows), Study Mono Develop coding's & syntax, > Using the new language, code the program (1000 lines of code) & Execute on > windows. After execute deploy it in linux ? > > [OR] > > b. Or Just copy the VS2008 Codes and run in SUSE Linux Using Mono. > > Which option i have to do now......? > > > > > Sairam L > [email protected] > Phone: 91-44-28155334, 28155336, 42129885 > Fax: 91-44-42123885fd > [URL= http://www.sofist.com][IMG] > http://www.sofist.com/images/logo.jpg[/IMG][/URL] > 70, Thyagaraya Rd. > T. Nagar > Chennai 600017 > Tamil Nadu, India > www.sofist.com > ------------------------------------------------------------------ > StatMax - Your one-stop Statistical solutions > > > > On Sun, Apr 11, 2010 at 9:37 PM, Stifu <[email protected]> wrote: > >> >> >> satimis wrote: >> > >> >> Why would you need to create 2 programs, and where does the .dat file >> >> come into the equation? It'd still be one single program, whether >> there >> >> is a .dat file or not. >> > >> > Because some users are running Windows and others Linux. Therefore I >> need >> > 2 programs serving them for the time being. >> > >> >> Mono is cross platform. The same exe will work on Windows and Linux. >> That's >> one of the main characteristics of Mono, and I thought that was the >> reason >> you chose to check it out. >> >> >> satimis wrote: >> > >> > Regarding Java if an program needs JRE (Java Runtime Environment) and >> it >> > can't find it on Windows during execution, it'll ask permission to >> > download it on Internet and install it on Windows as well. Only ONCE. >> > Should my recollection is correct. I don't run Windows often only for >> > testing. If I'm wrong please correct me. Thanks. >> > >> > Will GTK# be the same? >> > >> >> Whether it is Java, .NET or GTK#, it only needs to be installed once >> (unless >> you need a more recent version than the one installed). >> >> I guess you should just try this all out, and it'll clear things up for >> you. >> -- >> View this message in context: >> http://n4.nabble.com/Seeking-advice-on-using-monodevelop-to-learn-CSharp-tp1820057p1836178.html >> Sent from the Mono - General mailing list archive at Nabble.com. >> _______________________________________________ >> Mono-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/mono-list >> > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://n4.nabble.com/Seeking-advice-on-using-monodevelop-to-learn-CSharp-tp1820057p1836735.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
