[Mono-list] Seeking advice on using monodevelop to learn CSharp

Stifu stifu at free.fr
Mon Apr 12 06:06:49 EDT 2010


What is the exact error?
It's possible you don't have everything installed (this depends on your
Linux distribution, and I don't think you've stated which one you're on). If
I remember correctly, Ubuntu doesn't include WinForms by default, and
requires you to install it separately. This might be your problem. Look for
"libmono-winforms2.0-cil" in your distribution software repository (if that
fails, look for any name that contains "winforms", in case it's called
differently in your distro).


sai ram wrote:
> 
> Hi,
> 
> I tried as u said...
> 
> 1. When i run Console Application it works perfectly... (VS2008 is not
> designed only for console applications rite...)
> 
> 2. When i try to run Win Form Application (C#) Using Mono application in
> Linux ,  It shows an Assembly - GAC error
> 
> -- Even i tried installing dll files into GAC Cache
> 
> -- STill the same error persists........
> 
> --Dono how to proceed further.. Kindly help me out..
> 
> eagerly waiting for ur reply....
> 
> 
> 
> 
> Sairam L
> sairam at sofist.com
> 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 Mon, Apr 12, 2010 at 12:32 PM, Stifu <stifu at free.fr> wrote:
> 
>>
>> 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
>> > sairam at sofist.com
>> > 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 <stifu at free.fr> 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  -  Mono-list at lists.ximian.com
>> >> http://lists.ximian.com/mailman/listinfo/mono-list
>> >>
>> >
>> > _______________________________________________
>> > Mono-list maillist  -  Mono-list at lists.ximian.com
>> > 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  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> 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-tp1820057p1836896.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list