Questions tagged [mono]

Mono is an open source implementation of .NET that runs on many platforms, including Linux, Mac OS X, and Windows. This allows running .NET applications on platforms other than Windows with little to no modification. Do NOT use this tag for questions about Java/Spring - use [spring]/[java] instead.

Mono, the open source development platform based on the .NET framework, allows developers to build Linux and cross-platform applications with improved developer productivity. Mono's .NET implementation is based on the ECMA standards for C# and the Common Language Infrastructure, but it also re-implements many Microsoft proprietary components like ADO.NET, WebForms, and WinForms.

Mono includes both developer tools and the infrastructure needed to run .NET client and server applications.

Since Microsoft open sourced .NET Core, the Mono repo has started to lose its importance in the ecosystem. Contribution to it fell significantly after 2020 and many reported issues remain opened.

Features:

  • Multi-Platform Runs on Linux, OS X, BSD, and Microsoft Windows, including x86, x86-64, ARM, s390, PowerPC and much more

  • Multi-Language Develop in C# 4.0 (including LINQ and dynamic), VB 8, Java, Python, Ruby, Eiffel, F#, Oxygene, and more

  • Binary Compatible Built on an implementation of the ECMA's Common Language Infrastructure and C#

  • Microsoft Compatible API Run ASP.NET, ADO.NET, Silverlight and Windows.Forms applications without recompilation

  • Open Source, Free Software Mono's runtime, compilers, and libraries are distributed under OSI approved licenses and are available for dual-licensing

  • Comprehensive Technology Coverage Bindings and managed implementations of many popular libraries and protocols

Link:

10001 questions
64
votes
4 answers

Is it possible to build MSBuild files (visual studio sln) from the command line in Mono?

Is it possible to build Visual Studio solutions without having to fire up MonoDevelop?
Kris Erickson
  • 33,454
  • 26
  • 120
  • 175
61
votes
5 answers

How to compile a Visual Studio C# Project with Mono

I'm new to this, and don't know where to start. I want to compile a Visual Studio C# project with Mono on Linux (by command line). The main.cs file includes these references: using System; using System.IO; using System.Collections.Generic; using…
Alasdair
  • 13,348
  • 18
  • 82
  • 138
59
votes
7 answers

Installing Mono 3.x in Ubuntu/Debian

I've recently read that Mono 3.0 has been released with a C# 5 compiler and support for MVC 4 here: http://www.mono-project.com/Release_Notes_Mono_3.0 and http://tirania.org/blog/archive/2012/Oct-22.html For the life of me I cannot work out where…
oasten
  • 864
  • 1
  • 7
  • 10
57
votes
16 answers

Graph database for .NET

I've been designing an application, based on .NET/Mono framework, which should make an heavy use of the shortest-path in a graph theories and I would like to use a native solution to traverse the nodes of the graph, instead of implementing surrogate…
Antonello
  • 1,326
  • 2
  • 16
  • 23
56
votes
2 answers

Is Roslyn cross platform?

I've been looking at Roslyn for quite some time now, and I'm curious and excited about it. One thing I noticed is that they mentioned that the compiler is re-written in managed code. This raises the question of whether Roslyn is able to run on…
mirhagk
  • 1,255
  • 3
  • 14
  • 28
55
votes
10 answers

How to serialize/deserialize to `Dictionary` from custom XML not using XElement?

Having empty Dictionary how to fill it with keys and values from XML like and serialize it back into XML not using XElement?
myWallJSON
  • 9,110
  • 22
  • 78
  • 149
54
votes
1 answer

Xamarin vs. Mono vs. Monodevelop

What is the relationship between Xamarin and Mono(Are they the same product)? Is the Monodevelop IDE related to Mono?
user1751117
  • 669
  • 1
  • 5
  • 5
54
votes
1 answer

NuGet on Linux: Error getting response stream

I'm trying to run NuGet on Linux (Ubuntu 12). I have Mono 3.0.6 (compiled from source). $ mono --runtime=v4.0.30319 .nuget/NuGet.exe update -self Checking for updates from https://nuget.org/api/v2/. Error getting response stream (Write: The…
friism
  • 19,068
  • 5
  • 80
  • 116
52
votes
7 answers

How do I code a Mono Daemon

I'm trying to write a Mono C# daemon for linux. I'd like to do a starts and stops of it when its done processing instead of just killing the process. Does anyone have any examples of this? Edit: I figured out how to use start-stop-daemon…
Scott Cowan
  • 2,652
  • 7
  • 29
  • 45
49
votes
8 answers

How to get started with Mono in Linux for a beginner?

How do I start using Mono in Linux as a beginner when I want to switch from Visual Studio? Is there some easy way to install it like Visual Studio and get started? So far,with what I've seen,it looks complex to even get started. Installing and…
Josh
  • 13,530
  • 29
  • 114
  • 159
49
votes
5 answers

Does the Razor View Engine work for Mono?

I tried searching a bit and didn't find an answer. Does the Razor View Engine work in Mono?
Earlz
  • 62,085
  • 98
  • 303
  • 499
49
votes
8 answers

How does Mono work

I have used C# in Visual Studio with .NET, and I have played around a little with Mono on openSUSE Linux, but I don't really understand how it works. If I write an app in Windows on .NET, how does this relate to Mono? I can't just execute an a…
DavidG
  • 1,796
  • 4
  • 21
  • 33
48
votes
9 answers

How to get F# working with Mono?

I can't seem to find a compiler/plugin for mono. Does one exist?
Kredns
  • 36,461
  • 52
  • 152
  • 203
48
votes
6 answers

How to detect which .NET runtime is being used (MS vs. Mono)?

I would like to know during execution of a program whether it is being executed using the Mono runtime or the Microsoft runtime. I'm currently using the following code to determine whether I'm on a MS CLR: static bool IsMicrosoftCLR() { return…
Dirk Vollmar
  • 172,527
  • 53
  • 255
  • 316
48
votes
5 answers

What is the best way to run ServiceStack on Linux / Mono?

Listed on the ServiceStack website it shows that ServiceStack can run on Mono with either: XSP mod_mono FastCgi Console What are these different configurations and which is preferred for Web Services on Mono?
mythz
  • 141,670
  • 29
  • 246
  • 390