Regardless of the .Net platform?

Can the .NET platform be installed on Linux, Unix, MAC, etc.

+8
platform-independent
source share
6 answers

.Net can be considered as two separate parts. One is the standardized CLI ECMA , and the other is the CLR . CLR is a Microsoft CLI implementation.

CLI can run on many devices, such as Windows (x86, x64, ia64 and now ARM), XBox, Zune, mobile phones and even embedded devices (small chips) . Mono / Moonlight are CLI implementations and even parts of the CLR that are partly funded by Microsoft through Novell. Microsoft supports this work and provides source code for help. Through Mono, you can reach most operating systems and processor types.

There are also compilers that can compile .Net code directly to platform-independent code that can be directly executed by the processor. It’s nice if you want to write your own operating system in C #. (I don’t remember the names, but I might be interested in Google in some links.)

CLI is designed to be platform independent and langugage independent. It works well on most operating systems and CPUs through various implementations. In practice, this means that it supports, for example, language functions, such as case-sensitive / case-insensitive variables (+ muuuch more), and has a set of commands compatible with most processors (CLI machine code resembles the instructions offered by most processors) .

Implementations of .Net (a review to answer your question):

+1
source share

You should look at the Monoproject .

Mono

Open, cross-platform, implementation of C # and CLR, which is binary compatible with Microsoft.NET

+7
source share

.Net per se, like most Microsoft software products, is 100% plataform dependent . It only works in the environment provided by Microsoft (for example, Windows and its various options). Theres no official.Net for anything else (Mac, Linux, etc.)

BUT...

Some plataforms are trying to develop alternatives, emulators, etc., to try to start MS Software. Mono , since Nick has published a Linux project to support .NET code for working under Linux.

But Mono is NOT .Net. It's other software written by different people that tries to be 100% .Net compatible (and really damn cool). But it is not provided or not supported by Microsoft.

And Mono, being open source, free software, is platinum independent, since it can be ported to any plataform (currently it supports several, not just Linux)

So, technically speaking, the correct answer is:

The .Net infrastructure provided by Microsoft is not at all platform-based. You cannot install it on Linux or Mac.

But Mono, an independent, compatible .Net implementation, is supported and available for installation on both Linux and Mac, among several other platforms. And you use it to run code written in .Net

+5
source share

Linux has Mono , which is a .Net runtime for Linux. I do not know about other OS.
In any case, what makes it platform independent is the fact that it compiles to MSIL, so any platform can implement runtime and support it.

There is also an implementation for small embedded devices called the .NET Micro Framework .

+2
source share

The answer to your very exact question is NO. The answer to the question "can the .net program run on these OSs" is different. And it CAN. As written by others, look for Mono.

Addendum (this is a later edit)

Now I think that my answer was not complete. I had to answer "Yes, you install the wine, and then install the .net framework." Here is a link with an example (for ubuntu and .net 2.0): http://ubuntuforums.org/showthread.php?t=943298

Yes, I know that this is not an answer to the fact that the OPs probably WANT to know, but this is at least a partial answer to what he asked.

+1
source share

You need to use a free and open alternative .NET implementation called Mono

Wikipedia

Main site

0
source share

All Articles