LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wine or mono ???? (http://www.linuxquestions.org/questions/linux-newbie-8/wine-or-mono-823245/)

h4u 07-31-2010 10:09 AM

wine or mono ????
 
Hi everyone,
I am new to linux. i want to run sever/client C#.net windows application on centos 5.4 through WINE. Through googling, i got to know that first an RPM should be installed for each linux flavour.
Kindly tell me which RPM should i installed??

Regarding my aaplication, using wine is right or not?? or i should use mono.

reply me as soon as possible if anyone knows somethig about that!
any help will be appreciated.

Regards

zirias 07-31-2010 10:32 AM

Use mono if it is possible. mono supports .NET 2.0 completely and 3.5/4.0 partially, so if your app doesn't use these unsupported parts and nothing else that is platform-dependent (like P/Invoke for win32 api calls), mono will run it. This is probably better than running the whole .NET framework inside wine.

h4u 08-01-2010 05:21 AM

i have used visual 2010 (for c#) which has .NET 4 frame work . will mono support this framework?

Dinithion 08-01-2010 10:47 AM

I have used mono with plain c#, and it works fine. I haven't experienced any problems. However, I haven't done much graphical programming. Just some basic windows with a few buttons on it. I don't think mono supports windows perfectly. I read somewhere that there was some issues, but I'm not sure if they are sorted out.

zirias 08-01-2010 11:25 AM

As I wrote, .NET 2.0 is fully supported. For .NET 3.5 and 4.0, it depends on the classes you use. I'd suggest to just try it. You will get meaningful exceptions for unimplemented parts of the .NET API.


All times are GMT -5. The time now is 09:44 AM.