Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] running on Linux

Started by atcdevil May 13, 2007 at 3:24 PM 1 replies 1k views
Original Post
atcdevil
atcdevil
If I write a Windows Forms application is it possible to run it in Linux? Do I need to use C# or could I use C++ or even IronPython to do this? Thanks!
jflanglois
jflanglois
You can run Windows Forms applications to a certain extend through mono (take a look at this, to see what's missing). I believe there was a debate on whether the System.Windows.Forms namespace was Microsoft-specific, but it looks like they've implemented it anyway.

As for using something other than C#, you would need to find a compiler for those languages that runs on Linux. I don't think there's one for C++/CLI. IronPython looks like it was developed in C#, so I suspect you could use mono's compiler.


jfl.
vermilion_wizard
vermilion_wizard
The Windows.Forms classes from .NET 1.1 are pretty complete.. but the .NET 2.0 versions have a ways to go (a lot of things do work though).

C++/CLI you can't use with Mono, but I'm pretty sure Mono supports IronPython, and also Boo which is based on Python. According to google, this page: http://www.mono-project.com/Languages should tell you what languages are supported, but the server appears to be down at the moment.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.