Jump to content
  • Advertisement
Sign in to follow this  
atcdevil

[.net] running on Linux

This topic is 4148 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!