Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using visual studio for developing mono applications

How do I use Visual Studio to develop applications on Mono? Is this possible?

like image 757
Josh Avatar asked Apr 29 '09 14:04

Josh


People also ask

What is Mono in Visual Studio?

The Mono framework is an open source implementation of Microsoft's . NET Framework based on the open standards for the C# language and the Common Language Runtime. The Mono project has been in active development for over a decade and is used - behind the scenes - in many products.

Should I use MonoDevelop or Visual Studio?

Monodevelop is less stable as compared to Visual studio. It is good when dealing with small projects. Visual Studio is more stable and has the ability to deal with all types of projects whether small or large. Monodevelop is a lightweight IDE, i.e. it can also run on any system even with fewer configurations.

Can Mono run .NET framework?

NET 5 provides two options of runtimes for users: the high-performance CoreCLR (for server and desktop applications), and the lightweight Mono (for mobile and WebAssembly). Mono still supports the . NET Framework compatibility mode, and it can be used with all of Microsoft's . NET IDEs.


1 Answers

You just build the applications in Visual Studio, and run them under Mono instead of under .NET. The binaries should be compatible... but you'll need to make sure you don't use any libraries which aren't available in Mono - see the Mono Application Compatibility Guidelines.

(According to that page, you need to turn off incremental builds in Visual Studio though - a point I wasn't aware of before :)

like image 157
Jon Skeet Avatar answered Sep 22 '22 12:09

Jon Skeet