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
4
votes
1 answer

Nuget Package Restore: .Net Version Error on Target

For some reason when Building my application with TeamCity it insists on trying to install "System.Runtime 4.0.20". I then get the following error: [update] WARNING: Package 'System.Runtime 4.0.20' does not exist in project…
K-Dawg
  • 3,013
  • 2
  • 34
  • 52
4
votes
1 answer

ParallelFor code for finding sum of few elements in an array (Subsetsum problem)

I have the following C# code fragment: using System; class count { public static void Main() { int [] a = {-30, 30, -20, -10, 40, 0, 10, 5}; int i,j,k; int N=8; for (i=0; i < N; ++i) for (j=i+1; j < N; ++j) for (k=j+1; k < N;…
Sankar
  • 6,192
  • 12
  • 65
  • 89
4
votes
1 answer

embeded mono - load assemblies from memory

I'm trying to load mono assemblies from memory. My question has two parts, first: when I use mono_image_open_from_data and mono_assembly_load_from combination the assembly dependencies are not loaded. If I load assembly dependencies manually with…
KooKoo
  • 451
  • 3
  • 20
4
votes
2 answers

Getting started with Mono, C# and Glade#: How to make window appear?

I've been trying to get started with Mono & GTK# (I come from a background of Qt/C++ GUI programming) and decided to start with a very simple test GUI. I installed the MS Windows Mono/GTK# installer and then, upon finding that the Start menu link to…
NPB
  • 115
  • 1
  • 4
4
votes
2 answers

Can I develop a .NET application in Windows and deploy versions for Linux and Mac?

Is this possible with, e.g., MonoDevelop perhaps?
Dan Tao
  • 125,917
  • 54
  • 300
  • 447
4
votes
3 answers

How to capture from webcam in Linux using Mono?

How can I capture a frame from a video-4-linux device (e.g.: /dev/video0) using Mono and C#? OS is Angstrom Linux running on BeagleBoard.
Cihan Keser
  • 3,190
  • 4
  • 30
  • 43
4
votes
3 answers

Trouble compiling VS2015 application with mono/xbuild

I'm new to programming, but not new to Linux. I recently began a Programming class in C# and we're using Visual Studio 2015 to write applications and therefore MSbuild to compile them. However, at home I'd like to compile everything with mono, but…
TheDJ42
  • 41
  • 2
4
votes
2 answers

I have tears because I don't know how to field initialize a Dictionary with Action?

In Unity projects featuring explosions you often do this private Dictionary explosions; void .. initialize in your class constructor .. () { explosions = new Dictionary(); …
Fattie
  • 27,874
  • 70
  • 431
  • 719
4
votes
2 answers

Xamarin Forms: Default Image if Url not found

In xamarin forms we can create images like this: Image i = new Image { Source = "http://www.foo.com/foo.jpg }; After adding this to layout if url returns an image it will display it. What I want to now is is there a way to know if ths Url is an…
Ege Aydın
  • 1,041
  • 1
  • 13
  • 27
4
votes
0 answers

Set ConfigurationFile at runtime

I'm using python.Net in my project to include a c# dll which depends on app.config. My python project obviously does not define an app.config, so before I add a reference to the dll I set the config file as…
Ed Campion
  • 196
  • 8
4
votes
8 answers

What is a decent Mono Editor?

I had been steering away from C# for a while, because it was "just a Windows thing", and it fell out of my current needs. However It's been gaining popularity and now with Mono catching up, it's becoming more attractive but I was wondering what IDE…
Robert Gould
  • 68,773
  • 61
  • 187
  • 272
4
votes
1 answer

C# SSH Connection

I'm trying to run SSH commands as part of a C# app. My code is as follows: using System; using Renci.SshNet; namespace SSHconsole { class MainClass { public static void Main (string[] args) { //Connection…
Jake Charman
  • 111
  • 2
  • 2
  • 11
4
votes
1 answer

How to install Umbraco 7.X.X on the Mono Framework?

I want to install Umbraco 7.X.X on the Mono Framework. https://our.umbraco.org/download Hosting the Umbraco database on a MySQL-server and running the website under apache with mod_mono. There are a few of old topics about this subject (founded…
Jordy
  • 661
  • 7
  • 26
4
votes
1 answer

404 response appended to webapi response

I have managed to get TWO responses for a single web request: My webapi response ( a simple string with 200 status code) a 404, from what looks like a static file handler Screenshot from chrome: My setup is: F# Mono on Ubuntu 15.10 xsp4 as the…
4
votes
2 answers

How to open mac terminal using gtk#

I have made a gtk# tool in Mac OS using xamarin. The problem is that, i want to open Mac terminal and pass some arguments. From my code i was opening windows console like this but i want to do this for MAC. System.Diagnostics.Process p = new…
Charlie
  • 4,827
  • 2
  • 31
  • 55
1 2 3
99
100