mono

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 Glade didn't work (as it didn't appear to be included in the package), I used the "Glade...

Using .NET/Mono on Linux to serve a high volume web service, a good idea?

We have a web service that does a fairly high volume of traffic that helps you figure out what are your preferred contacts based on the e-mails you receive. This service was initially implemented in C# /.NET in order to leverage some code we already have running on Windows hosts. This service does not uses ASP.NET but it's a simple C...

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; ++k) if (a[i] + a[j] + a[k] == 30) Console.WriteLine (a[i].ToString () + a[j].ToSt...

mono or RoR for new application run on linux?

I have little experience with ruby itself. I am going to hire somebody to write a web based application and I wanted it to be written in RoR but I was recommend mono. I guess because they like mono and because they think the RoR is slow. The whole application would be some kind of social media meta management tool. There will be front e...

Debugging C# assembly launched by embedded mono runtime?

Hi! 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 as it is suggested in Embedding Mono. And now the interesting part! The launcher impl...

Capture devices - Mono c#

Hi, I'm looking for a way to list all capture devices (audio and video) with Mono under Linux: microphones, webcam, etc... but I couldn't find anything. Under windows, it's easy doing this with DirectShow, but couldn't find anything like this under Linux. Of course I could list those devices with a system command line, and parse the str...

Monodevelop .Net cross platform custom drawing application

I'm looking for good suggestions on where to start with an educational application I am designing. I want my application to be compatible with Windows and OSX - my research seems to suggest that about 40% of the audience would be using a mac. I'm keen to stick to .net/c sharp and the Mono framework. The application is reasonably simpl...

How to develop IronPython applications on Mono?

I might need to write some GUI application that runs on .Net (and Windows), while what I can work with is Mono (on Ubuntu and/or Gentoo). I am very familiar with Python; in addition, I understand that the Mono Windows.Forms assemblies seem to be satisfactorily usable (I've run successfully .Net applications using Windows.Forms). What ar...

Is there a ILMerge equivalent tool for Mono?

I'm looking for a open source tool to merge multiple .NET assemblies into a single assembly. ...

Success with start-stop-daemon and mono-service2?

Has anyone had any success using start-stop-daemon and mono-service2 together? I've been fighting this for a few days now and have gotten various bits to work, but have had no success in getting a fully functional init script for a mono service. Here is what I have learned to date: The mono or mono-service exe must be named as the va...

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 mean by ? ...

Using mono in embedded linux for hardware

Hi, I am doing research for a company as an internship. I had some question in using Mono, the cross platform implementation of .Net platform. My company designs hardware and sotware. My knowledge of using embedded linux is very low. My company where I am doing my internship is really .NET minded. But the new developments of mono, they...

Use Mono.NET Library in Linux

First of all, I'd like to point out that I have no experience using Mono.NET, so bear with me if the questions are silly. I'm working on an application that is written in native C++ code and works in Windows (VS2008) and Linux/Mac (gcc). There is a library that I am looking to integrate with, which is currently compiled in MS.NET (versi...

Mono, WebClient & invalid SSL Certificates

I'm trying to port an existing Application to Mono 2.6.7/Linux. One Task is to receive data via the WebClient method from Servers with an invalid SSL Cert. Our .Net 3.5 Code under Windows to accept all certificates works fine: ServicePointManager.ServerCertificateValidationCallback = TrustCertificate; StreamReader webReader = new Strea...

Reassigning XmlDocument

Hi there, I currently have to iterate through a larger amount of .xml files and I am bound to Mono (so no brand new .NET LINQ etc.). I use XmlDocument to load each XML file, now my question is, can I use one instance of XmlDocument for all files? Code Example below: filePath = "Assets/Units/"; // Get all files string [...

Is it possible to run LINQPad with Mono (Mac)

I have installed Mono 2.6.7 in Snow Leopard and would like to run LINQPad. I've gotten LINQPad (v2.21) to start but immediately get a FileNotFoundException. Has anyone been able to run it successfully? I assume the exception is because it's trying to read/write a config file or something but hopefully there is some workaround. Thanks...

Programming with MAF (and MEF) on Mono

Hi Stackies, I am curruntly working as an internship in a company who want to try to make software for the linux platform. Since they are a .net minded company, they want me to lookin to mono. I kinda have to look if it stable for their applications and server apps. I am now studieing the MEF and MAF ( Managed AddIn Framework ) framewo...

Do the MSBuild Community Tasks or Extension Pack work with Mono's xbuild?

Has anyone got the MSBuild Community Tasks or MSBuild Extension Pack working with Mono's xbuild? They both seem to have MSI installer, so I guess it's a case of manually transferring the files to the Mac (in my case)? If anyone's done it, I'd appreciate the benefit of his/her experience. ...

Uri.MakeRelativeUri Behavior On Mono

I'm seeing some strange (to me anyway) behavior when using MakeRelativeUri on Mono (2.6.7). Take the following example: var uri1 = new Uri("/somepath/someothersubpath/"); var uri2 = new Uri("/somepath/img/someimg.jpg"); var uri3 = uri1.MakeRelativeUri(uri2); Console.WriteLine(uri3.OriginalString); I'd expect this to output "../img/s...

How do I make the MSBuild task in Mono's xbuild use the .NET 3.5 framework?

I'm trying to build a MonoTouch project using xbuild (on a Mac, clearly). Here's my xbuild project: <Project DefaultTargets="Application" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt; <PropertyGroup> <ApplicationProjectFilePath>..\TestApp\TestApp.csproj</ApplicationProjectFilePath> ...