473,387 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C# on Non-MSFT OS's?

Sorry if this is an ignorant question but I am just shooting in the dark
here...

I am just wondering if it is possible to have C# on non Microsoft
Operating Systems. Like, lets say.... Linux. Is anyone out there using
a Linux distro and running C# and/or Visual Studio 200x (2002/2003/2005)
on their computer.

Thanks in advance for any information one way or the other.
Feb 10 '06 #1
6 1108
You might want to have a look at http://www.mono-project.com/
I haven't yet tried this myself though

"Obergfell, Joe" <jo********@brickyard.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Sorry if this is an ignorant question but I am just shooting in the dark
here...

I am just wondering if it is possible to have C# on non Microsoft
Operating Systems. Like, lets say.... Linux. Is anyone out there using a
Linux distro and running C# and/or Visual Studio 200x (2002/2003/2005) on
their computer.

Thanks in advance for any information one way or the other.

Feb 10 '06 #2
Hi,

check Mono project
http://www.mono-project.com/Main_Page

E.g not VS200x, since MS has developed it only to work on its platforms, but
C# etc follows certain standards & specifications so basically you can have
a C# compiler and execution platform on non-MS OS's and that's what Mono is
about.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"Obergfell, Joe" <jo********@brickyard.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Sorry if this is an ignorant question but I am just shooting in the dark
here...

I am just wondering if it is possible to have C# on non Microsoft
Operating Systems. Like, lets say.... Linux. Is anyone out there using a
Linux distro and running C# and/or Visual Studio 200x (2002/2003/2005) on
their computer.

Thanks in advance for any information one way or the other.

Feb 10 '06 #3
Teemu Keiski wrote:
Hi,

check Mono project
http://www.mono-project.com/Main_Page

E.g not VS200x, since MS has developed it only to work on its platforms, but
C# etc follows certain standards & specifications so basically you can have
a C# compiler and execution platform on non-MS OS's and that's what Mono is
about.

Thanks guys, I see that it has been developed by Novell. Which this is
great, since I do support them and all. This shall help in my
development, reguardless what platform I am working in.
Feb 10 '06 #4
Obergfell, Joe wrote:
Teemu Keiski wrote:
Hi,

check Mono project
http://www.mono-project.com/Main_Page

E.g not VS200x, since MS has developed it only to work on its
platforms, but C# etc follows certain standards & specifications so
basically you can have a C# compiler and execution platform on non-MS
OS's and that's what Mono is about.

Thanks guys, I see that it has been developed by Novell. Which this is
great, since I do support them and all. This shall help in my
development, reguardless what platform I am working in.


Mono isn't fully compatible with .NET, and AFAIK doesn't have any of the
..NET 2.0 stuff yet, so don't get too excited just yet. Also, there is
Grasshopper that will let you run your .NET apps as a J2EE app (it does
MS IL to Java bytecode translation) on a J2EE app server (WebShpere,
JBoss, Tomcat or whatever): http://dev.mainsoft.com/Default.aspx?tabid=28

I'm not a big fan of either but they're the only ways to use your .NET
code on something else than Windows.
Feb 10 '06 #5

You can also continue to work in VS.NET/Windows and port to Linux/Mono
using the Grasshopper plug-in for VS.NET from Mainsoft.

Obergfell, Joe wrote:
Teemu Keiski wrote:
Hi,

check Mono project
http://www.mono-project.com/Main_Page

E.g not VS200x, since MS has developed it only to work on its
platforms, but C# etc follows certain standards & specifications so
basically you can have a C# compiler and execution platform on non-MS
OS's and that's what Mono is about.

Thanks guys, I see that it has been developed by Novell. Which this is
great, since I do support them and all. This shall help in my
development, reguardless what platform I am working in.

Feb 10 '06 #6
john smith <jo**@smith.com> wrote:
Thanks guys, I see that it has been developed by Novell. Which this is
great, since I do support them and all. This shall help in my
development, reguardless what platform I am working in.


Mono isn't fully compatible with .NET, and AFAIK doesn't have any of the
.NET 2.0 stuff yet, so don't get too excited just yet.


Actually, it's had some .NET 2.0 stuff for a very long time - much
longer than .NET 2.0 has been released!

For instance, this program compiles absolutely fine with gmcs and runs
appropriately with mono:

using System;
using System.Collections.Generic;

class Test
{
static void Main()
{
List<int> x = new List<int>();
x.Add(5);
int y = x[0];
Console.WriteLine (y);
}
}

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Feb 10 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
0
by: amitvps | last post by:
Secure Socket Layer is very important and useful for any web application but it brings some problems too with itself. Handling navigation between secure and non-secure pages is one of the cumbersome...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.