mono

nunit-console.exe problem with Mono

I could make a dll for NUnit (http://stackoverflow.com/questions/2967726/nunit-test-under-mono), but when I tried to run in with nunit-console.exe I get the following error message. Runtime Environment - OS Version: Unix 10.3.0.0 CLR Version: 2.0.50727.1433 ( 2.6.4 (tarball Thu Apr 22 13:24:33 MDT 2010) ) ProcessModel: Default ...

How to use System.Data.SQLite under mono?

I downloaded System.Data.SQLite, and tried to compile the following sample code. using System; using System.Data; using System.Data.Common; using System.Data.SQLite; namespace test { class Program { static void Main(string[] args) { SQLiteConnection.CreateFile("/Users/smcho/Desktop/SQLite-1/example/mydatabasefile.db...

Installation of .NET dll libraries questions.

For downloading and installing .NET/dll, all I need is copying the dll to a specific directory, and let the .NET know about it. Is this correct? I use mono, so with mono, I set the MONO_PATH to include the directory. And, it looks OK. Here are my questions. With some libraries, not only dll file, but also xml file is provided. For e...

webkit-sharp for windows package

I wanted to try WebKit by following this tutorial, but gmcs compiler was't able to find "webkit-sharp-1.0" package. Where can i get it and how to install it? ...

building xbuild into visual studio addin

im looking for a way to implement a addin that can convert a C# solution into a mono compiled exe, so i can use it on a linux and mac environment that have the mono framework installed. ...

What's current state of Mono 2.8 development?

Where can I look at what features planned for Mono 2.8 release are already implemented in Mono SVN? ...

Can I create a standalone (not ran in browser, having full trust) application with Moonlight?

I look forward to develop a WPF MVVC application which is to be ran both on Windows with .Net Framework and Mac/Linux with Mono. As far as I understand the only part of of WPF implemented in Mono is Silverlight as Moonlight. As far as I've read it is possible to develop a standalone application with Silverlight 3, but is it possible wi...

Call Mono C# Compiler

Hi, For calling MS C# compiler there is CSharpCodeProvider (http://msdn.microsoft.com/en-us/library/microsoft.csharp.csharpcodeprovider.aspx) but how do I call the Mono compiler? I want to know if there was any errors after compilation. ...

How do I add a reference to an assembly?

I am trying to run some PDF to text C# code. I have references to 2 DLLs and I get this error when I try to run the program: the type 'java.io.File' is defined in an assembly that is not referenced. You must add a reference to assembly 'IKVM.GNU.Classpath, Version=0.20.0.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58'. How do I ...

Can I run original MS.Net Framework 4 on Linux someway (with Wine perhaps)?

I once heard of a guy managed to install original Microsoft .Net Framework on Linux and successfully run Mono-incompatible .Net applications using bleeding-edge MS C# features. Any idea how could he do it? ...

How to detect what platform my C#/F# code is running on mono or .NET?

I need to use .NET or MONO for C#/F# programming. How do I know my C#/F# code is running on what platform? ...

Is mono fast enough for Mac OS X?

I have to use .NET/C# for the next company project. As I've developed my project on Mac, I looked into the mono for development environment/tool. Is the mono for Mac OS X is fast enough? I mean, what about the performance in running the assembly compared to running the same code on .NET under windows machine? Do I have to buy PC laptop...

Installation of an assembly to GAC both for mono/.NET

As far as I know, for installation of an assmebly for .NET is as follows. 'gacutil /i nunit.framework.dll' And for the mono, set the directory to MONO_PATH is doing the job. Is this correct? With .NET/windows, where does the assembly installed? I couldn't see any change in c:\Windows\Microsoft.NET\GAC_MSIL, after running the gacu...

How is Mono AOT / mkbundle used and optimized? (for reducing VM startup latencies)

I'd like to see if I can reduce VM latencies by using Mono's AOT (ahead of time compiler). How does one run the .so files? (Sorry this is question is so rudimentary; I couldn't find a simple answer on Mono's documentation). I figured out how to use mkbundle (mkbundle2 in this case), but are the resulting files being optimized? The Mono ...

Validate xml on Mono

Hello I have a .net application which I want to port to Mono. The application takes a xml file validates it and "executes" the xml. The validation part is not working on Mono. The xml is validating against XSD. XmlReaderSettings settings = new XmlReaderSettings(); settings.ValidationEventHandler += new System.Xml.Schema.ValidationEv...

How to get YUV video data stream from web cameras in C# NOT USING DIRECT SHOW?

What I need is raw camera data Stream of images\Frames in YUV format. I need to get tham using C#. And NOT USING DIRECT SHOW (if possible at all). I need a live stream not something like 1 frame per 5 seconds. If It will be mono compateble it would be grate but win only will be ok. I use .Net 3.5 but if needed I can swich to 4. I heard...

Is it possible to configure the mono default font for menus?

The winforms default font for menus in mono (Ubuntu 10.04) does not support german umlauts. While I can set the font for form content (this.Font), I could not figure out where to configure the menu font. Any suggestions? Edit: I am now using a ToolStripMenu which uses Parent.Font as Font. Works fine. ...

How to compile and build C# projects with Ant and Mono?

I am currently working on a project with both java and C# codes within. Java takes the major role in this project. However, C# still takes a small part in it. I am using Ant to build the projects, and would very much like to use it to build C# too. I have learned that it's possible to build C# under Ant with the help of Mono. Can anybod...

How can I invoke linux programs from C#/Mono?

I've been using MonoDevelop and Make to execute some build taks on a C project under linux, but I decided to abandon Make and switch to NAnt since I am more proficient in writing C# programs than Make/shell scripts, so I decided to write a custom NAnt task in C# to replace my Makefile. So, how can I invoke GCC or other shell commands fro...

SystemIO Exception when opening RFCOMM in Mono

I have a Mono application which opens a RFCOMM connection (/dev/rfcomm0) but when I run as a user, I get a System.IO.IOException Interrupted system call. I'm running this on openSUSE 11.2. Unhandled Exception: System.IO.IOException: Interrupted system call at System.IO.Ports.SerialPortStream.ThrowIOException () [0x00000] in <filena...