C# with Mono
By Anish Mistry
What is it?
C# is a language created by Microsoft Corporation to fully exploit thier .NET development framework. Mono is a CLR developed by Ximian to run on other platforms besides Microsoft Windows.
This a down and dirty way to compile and run your .NET C# applications on the Mono CLR.
Instructions
- Download and install Mono /usr/ports/lang/mono (If you are running FreeBSD)
- If you have a C# application written with Microsoft Visual Studio .NET, you can convert the solution file to a Unix Makefile using the SLNtoMake utility.
- Compile SLNtoMake: mcs slntomake.cs
- Run the slntomake.exe utility on the Mono CLR to convert the solution file: mono slntomake.exe -u Project.sln > ProjectMakefile
- Compile your project: gmake -f ProjectMakefile CSC=mcs TARGET=.
- Run the application: mono Project.exe
- Enjoy!
| Copyright 2002-2010 UnitedWare, LLC
High Quality Web, Software, and eCommerce Consultants for all of your IT needs | |
| Site Map | Privacy Policy |

