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

"Version string portion was too short or too long" when opening Visual Studio project in Xamarin Studio

I try to open solution from VS 2012 in Xamarin Studio Community but one of projects - asp.net mvc project - gives "Version string portion was too short or too long" .net version is ok I think. I tried to create simple asp.net mvc project in VS and…
Paweł
  • 41
  • 1
  • 1
  • 4
4
votes
1 answer

F# delegate using pinvoke with C function callback on Linux / ARM

Can you help me use a C function, from F#, that expects a callback? I am using F#, mono and Arch Linux, on the ARM processor based Raspberry Pi 2. My original problem, understanding the signature to use for the callback, was answered which you can…
Jack Chidley
  • 131
  • 9
4
votes
0 answers

SQLite error on Mono - SQLite.Interop.dll at (wrapper managed-to-native)

I am trying to run a very simple C# code to read data from SQLite. I am using Xamarin as my IDE and on a Mac. I can compile the code.. but i get this error when i try to connect to the SQLite Database. Any ideas what I am missing. I have included…
shivas
  • 913
  • 10
  • 15
4
votes
1 answer

Mono.Cecil: create local variable and change return statement

I'm trying to rewrite the get method of an property from: get { return dataString; } to: get { string temp = dataString; PropertyLogging.Get("DataString", ref temp); return temp; } So far I've tried differnt things: //the…
Markus
  • 123
  • 2
  • 11
4
votes
3 answers

how to pack few .NET dll's into one dll

I have few dll's of c# code and I want to pack it to one dll. I am looking for something like ilmerge in linux. Do anyone know an alternative? Thanks, Ohad.
oshai
  • 14,865
  • 26
  • 84
  • 140
4
votes
2 answers

How to use IronPython with .Net Core 1.0

I'm trying to add IronPython to a .Net Core 1.0 web app, but having issues able to access the ScriptRuntime class. When I try to add using IronPython; I get errors saying that IronPython could not be found. I also get errors about ScriptRuntime…
mdeblois
  • 133
  • 2
  • 7
4
votes
9 answers

How widely used is Mono for real-world applications?

Followup question to comments here My impression had been that Mono is a science project. Is that inaccurate? Extra credit for recounting personal usage.
Steve Townsend
  • 53,498
  • 9
  • 91
  • 140
4
votes
4 answers

Mono with Owin Authentication

I have an Owin application I'm running in Mono, and I'm trying to get authentication to work properly on it. I used the info on this page as a start. I quickly realized that Owin Authentication uses some Windows specific libraries. This question had…
TheHvidsten
  • 4,028
  • 3
  • 29
  • 62
4
votes
0 answers

P/Invoke with setting locale in Linux with Mono

I am currently writing a wrapper for a C library. This library reads text files for internal operations. My problem is now, that somehow this library reads the text files dependant on my locale, which is wrong. It should read the files with locale…
Residuum
  • 11,878
  • 7
  • 40
  • 70
4
votes
0 answers

Convert audio from mono to stereo for use in AVPlayer (iOS)

I have an AVPlayer that plays audio from a mono AVAsset, doing some processing via an audio processing tap along the way. How can I convert this asset to stereo before reaching the tap? The second channel can be empty or a copy of the first channel…
Rogare
  • 3,234
  • 3
  • 27
  • 50
4
votes
0 answers

How to put different custom child items in expandable listview items?

In Expandable List view i have three headers with child views,I want to put custom child views in each of header like in one child view i want to place grid view of images and in other child view i want to place custom search bar and radio buttons…
Ramesh yadav
  • 85
  • 1
  • 15
4
votes
3 answers

Top Issues Running ASP.NET app on Mono

Assume I have an ASP.NET MVC app that's not doing anything too fancy (no P/Invoke, no unsafe, etc). I've considered the idea of running on Mono to support Linux, among other platforms. I haven't used Mono in a long time. What are the top issues I'm…
chadmyers
  • 3,800
  • 21
  • 29
4
votes
7 answers

What is Cross-Platform Development?

.NET is for Windows ! But, though for linux environment, MONO achieves goal for .NET support. What is Mono ? Is it linux IDE for dotnet support ? How many languages are supported by .NET ? Mono uses cross-platform development concept. What does it…
user284291
4
votes
2 answers

NUnit and testing a Xamarin PCL

I am developing a portable class library and iOS app where the data access is based on top of Paul Betts' ModernHttpClient, Fusillade, Refit and Akavache libraries. This works in the PCL and iOS apps but I am having an issue when creating unit tests…
Phil Murray
  • 6,396
  • 9
  • 45
  • 95
4
votes
2 answers

Debugging C# assembly launched by embedded mono runtime?

I am talking about a small game engine using C# for game programming. So, I have a C++ app embedding mono runtime (I call it 'launcher'). And I have an assembly written in C# which is my game engine class library. The launcher launches the assembly…
Anton Petrov
  • 782
  • 1
  • 8
  • 19