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
91
votes
6 answers

Custom Layout for DialogFragment OnCreateView vs. OnCreateDialog

I'm trying to create a DialogFragment using my own Layout. I've seen a couple different approaches. Sometimes the layout is set in OnCreateDialog like this: (I'm using Mono but I've gotten somewhat used to Java) public override Android.App.Dialog…
gghuffer
  • 1,133
  • 1
  • 9
  • 15
88
votes
13 answers

Running ASP.Net on a Linux based server

For a developer with a Java background, I am interested in exploring software development using the ASP.NET tools/platform as well. Java web applications (.jsp and servlets) can run on many server platforms. Question: Will a .NET web application be…
Anand
  • 10,310
  • 24
  • 90
  • 135
87
votes
7 answers

Can you develop Linux applications with Xamarin?

Is it possible to develop and build Linux applications with Xamarin with the same code base? After a few years with Ubuntu, my main OS right now is Windows again. But it's not impossible that I could switch to Mac. Right now I have a bit of…
JuSchu
  • 1,480
  • 1
  • 11
  • 12
85
votes
2 answers

Interlocked and volatile

I have a variable which I am using to represent state. It can be read and written to from multiple threads. I am using Interlocked.Exchange and Interlocked.CompareExchange to change it. However I am reading it from multiple threads. I know that…
trampster
  • 8,598
  • 4
  • 37
  • 52
79
votes
8 answers

Mono on Raspberry Pi

I've seen a lot of talk about running Mono/.NET code on the Raspberry Pi. Has there been any success in actually running any Mono code on a Raspberry Pi? On their site, they list several Linux distributions that work on the device and some of these…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
75
votes
8 answers

.Net (dotNet) wrappers for OpenCV?

I've seen there are a few of them. opencvdotnet, SharperCV, EmguCV, One on Code Project. Does anyone have any experience with any of these? I played around with the one on Code Project for a bit, but as soon as I tried to do anything complicated…
Kris Erickson
  • 33,454
  • 26
  • 120
  • 175
72
votes
10 answers

Mono https webrequest fails with "The authentication or decryption has failed"

I'm making a simple REST client to use in my C# applications. In .net on Windows It works great with http:// and https:// connections. In mono 2.6.7 (Also tested with 2.8 with the same results) on Ubuntu 10.10 only http:// works. https://…
Joel
  • 16,474
  • 17
  • 72
  • 93
71
votes
8 answers

The State of Linkers for .NET apps (aka "Please Sir, May I have a Linker" 2009 edition)

Many people here are probably familiar with one of Joel Spolsky most popular blog posts, Please Sir, May I Have a Linker, where he cries out for a way to remove dependencies on the .NET framework so a stand-alone application can be developed and…
Robert P
  • 15,707
  • 10
  • 68
  • 112
71
votes
27 answers

Keystore file doesn't exist

I'm trying to get the SHA1 fingerprint so I can get an Google API key. Im in the following directory: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin Then I execute the command from the google site : keytool -list -v…
Bas
  • 4,423
  • 8
  • 36
  • 53
71
votes
9 answers

IDE's for C# development on Linux?

What are my options? I tried MonoDevelop over a year ago but it was extremely buggy. Is the latest version a stable development environment?
ilitirit
  • 16,016
  • 18
  • 72
  • 111
70
votes
5 answers

Unable to run .net app with Mono - mscorlib.dll not found (version mismatch?)

I have a simple .net command line tool written and compiled under Windows, using .net 3.5SP1. I would like to run it on Linux using Mono. I am using Ubuntu 12.04, and installed Mono Runtime using the Ubuntu software center. If I try to start my…
Warpin
  • 6,971
  • 12
  • 51
  • 77
68
votes
9 answers

How to install Mono on macOS so mono works in terminal?

I'm trying to get a Mono install running on a mac (OS X version 10.10.5), and while the install states that it's completed successfully, I'm not able to call mono from the terminal. To install it, I ran uninstallMono.sh as root to ensure we didn't…
Kevin Mack
  • 1,174
  • 1
  • 9
  • 20
67
votes
1 answer

Determine what version of Mono is running on linux?

Is there a command line I can run to determine what version of Mono I am running on Linux? I am using Ubuntu and I it is command line only (no X Windows installed).
emalamisura
  • 2,816
  • 2
  • 29
  • 34
65
votes
3 answers

Deploy ASP.NET MVC on Linux: Best Practices, Tools & Surprises

I'm wondering about best practices to develop ASP.NET MVC apps with an option to deploy on Linux. If you are creating these kinds of MVC apps, What Linux/Mono platform are you targeting? How much of the development are you doing on Windows and how…
keithm
  • 2,813
  • 3
  • 31
  • 38
64
votes
12 answers

What's the point of Mono on Windows

This may be a dumb question...but I was just looking into the Mono project and they have a section about installing Mono on Windows. But, since Windows obviously already has the .NET runtime can anyone tell me what exactly is the point of having…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286