mono

Mono mkbundle tool unable to create binary with complaint that output file is unavailable.

As per suggestions from this thread on running C# apps sans .NET I've compiled my app using mono. I built the original app using the latest Visual C# .NET Express Edition. It runs fine on .NET on Windows. I then opened up Cygwin and navigated to my source where I compiled the project again, under mono using the following command: $ m...

Embedding: mono vs lua

I am interested in hearing about peoples experience with embedding mono (open source implementation of .NET) in a C/C++ application. How is it to distribute such an application and what are the dependencies? I have tested on OS X and mono comes as a huge framework (hundreds of MB). Do users of my app all need this big framework or can it...

mono mkbundle utility on windows

Hello, There has been a fair amount of mention of the mono utility mkbundle which is supposed to (among other things) allow you to create a bundle (standalone exe) with a c# project compiled with mono. This works when i run it in cygwin, however what i really would like to do is use the --deps option and --static option to pull in all ...

Why use Mono?

What are the main benefits of using Mono over Java (or any other "free" or Linux-friendly language/runtime)? Mono will always trail behind the latest developments in the .NET framework, why would you want to use Mono over another traditional open-source language/framework (Java)? EDIT: Like someone mentioned below, I guess the root que...

MVC Web Framework and Mono

I work in a shop that has a number of very good C# developers who have been using ASP.NET WebForms, and would like to move to a MVC framework. To make things more complicated, we would also like to be able to run this under mono. So my question is, are there any good MVC frameworks for mono, that have been tried and tested in the real w...

IDE Module for Hand Drawing?

I'm currently looking for a hand drawing (2D) library/module (that would be like Paint, Paint.Net or Photoshop - but I don't need all the power of Photoshop...) that would allow me to add a drawing module to an IDE application. That application is in it's early design phase : for instance I'm only estimating if I will be able to work on...

How do to set run time options when embedding mono?

Like these options: Usage is: mono [options] program [program-options] Development: --aot Compiles the assembly to native code --debug[=] Enable debugging support, use --help-debug for details --profile[=profiler] Runs in profiling mode with the specified profiler module --trace[=EXPR] En...

Has anyone used any .Net code generation frameworks in Mono? (Subsonic, .netTiers, etc..)

Mono appears to have really come a log way since the last time I really used it. I'm interested in doing some ASP.Net development using Mono. I have used .netTiers/CodeSmith at work and really enjoy the speed with which code generation gives you a clean working data access layer. The question is has anybody used any code generation wi...

How to Mono, PHP and .NET module run together on Ubunty Hardy at Slicehost?

I'm running a rails app and PHP at my SliceHost Ubuntu Hardy Heron vps server. I've a PdfProcess.exe module built upon ASP.NET (.NET 2). I've one PHP file which uses a passthru("PdfProcess.exe ......") function which loads a pdf template and outputs a new processed pdf file and sent to browser. The combination of PdfProcess.exe and PHP p...

How to register a service with Mono.ZeroConf?

Hi, I'm trying to test the ZeroConf sample at http://www.mono-project.com/Mono.Zeroconf. I'm running OpenSuse 11 and Mono 2.2. My server code is: using System; using Mono.Zeroconf; namespace zeroconftestserver { class MainClass { public static void Main(string[] args) { RegisterService service = n...

NUnit on Mono?

Does anyone know if you can run NUnit on Mono? The reason I ask is because on the download page it says: For some releases, we provide a zipped package for use under Mono. However, the only release that actually has a separate mono release (judging by its label that says "mono:" and then shows the .zip) is the ancient 2.2. NUnit's...

How do I improve performance of winforms application in Mono?

I have a remoting application (2 player Magic the Gathering Game) using windows form in C# and I am seeing very poor performance in mono. One thing I can think of that might affect the performance is that I have custom images for button background and form backgrounds(.png). Moreover I heavily use card images (.jpg). Lastly I have stuck...

Mono in linux & windows

Is there any difference in performance when running two executables with mono in linux, if: 1) the one executable has been compiled from c# source code previously in windows (e.g.VS). 2) the other executable has been compiled from the same source with gmcs in linux. ...

Conversion to Mono on a Mac

Hi all, I have a project written .NET 2.0 (well, it doesn't use much in the way of 3.5 features, anyway), and I recently got a Mac and would like to convert that project to Mono. The problem is, this project relies on libraries such as FreeImage and a few C++ libraries I've written for this project. I'm a total newb to programming on ...

Getting this Win32 Interop code to work under Mono?

So i have this code in a .NET 2.0 console app: [DllImport("kernel32.dll")] private static extern bool SetConsoleTextAttribute(IntPtr hConsoleOutput, int wAttributes); [DllImport("kernel32.dll")] private static extern IntPtr GetStdHandle(uint nStdHandle); private static readonly IntPtr hConsole; And then in a method i have this...

How to migrate a .NET Windows Service application to Linux using mono?

What would be the best approach to migrate a .NET Windows Service to Linux using mono? I've been trying to avoid executing the application as a scheduled command. Is it possible to obtain a service/system daemon(in linux) like behavior? ...

encrypt config sections of web.config in mono

I see that can use ASP_regiis to encrypt sections of the web.config file, but I am running mono on a box using Apache. Are there ways to do this in Mono/Linux? ...

How do I setup an ASP.NET project *WITHOUT* using the Visual Studio GUI?

I'm using Emacs and Mono on Windows so that I can retain the same development environment while I'm in GNU/Linux. So I need to know what the directory structure of an ASP.NET project and which files are critical to its operation (config files, etc.). ...

How can I force csc / mcs to use a specific version of an assembly reference?

I need to reference a specific version of a signed assembly. Because it is present in GAC, compiler picks up the 'vendor' version instead of the one I provide (the GAC version number is higher, even though it's an older API). Is there some kind of extension to the basic /reference=Library.dll compiler option that allows specyfing a stron...

Can i use just the mono's system data on windows?

I have a Windows WinForms app that communicates with linux's mono remoting. Is it possible that i get the mono's system.data.dll and use it on windows instead of .net's built-in. I wanted to use remotingformat of binary type, and ensure that both ends can serialize/deserialize it properly. ...