473,699 Members | 2,271 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1119
You might want to have a look at http://www.mono-project.com/
I haven't yet tried this myself though

"Obergfell, Joe" <jo********@bri ckyard.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.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********@bri ckyard.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.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.Collecti ons.Generic;

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

--
Jon Skeet - <sk***@pobox.co m>
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
3747
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 their dtor is called immediately and not at the end of the function. to be able to use return objects (to avoid copying) i often assign them to a const reference. now, casting a const return object from a function to a non-const reference to this...
3
12240
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 nonblocking mode in c++? I did something ugly like --- c/c++ mixture --- mkfifo( "testpipe", 777);
25
7626
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
4512
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
3503
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 cannot load/unload/reload extensions into my large and slow-to-load application during development without restarting the process then the disadvantages may outweigh the advantages. I've got a mixed-mode program in which I create a new AppDomain...
14
8441
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
3432
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 vtable pointer is made use of.. eg. class one {
2
6110
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 pointers, but I'm not sure. Please help. The code: void equate(matrix *A, matrix *B) { int i, j; assert(A.row_dim == B.col_dim && A.col_dim == B.col_dim); for(i=0; i < A.row_dim; i++) for(j=0; j < A.col_dim; j++)
0
2340
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 jobs. When a non-secure page references a secure page with relative URL, the web server generates error until absolute URL with https prefix is used. On the other hand when a secure page references a non-secure page, the non-secure page will be...
399
12828
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 to python-3000@python.org In summary, this PEP proposes to allow non-ASCII letters as identifiers in Python. If the PEP is accepted, the following identifiers would also become valid as class, function, or variable names: Löffelstiel,...
0
9199
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8945
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8902
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7787
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4392
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3075
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2366
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2016
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.