mono

Using Mono for developing in C++

Hi, I am starting to use Mono to develop applications in C# and C++. I wanted to ask you, how is Mono compiling the C++ code? is it using GCC? It is amazing to see that it has the STL containers... Also, can I use the Boost libraries and GSL libraries with Mono? Thanks in advance!!! ...

What are the arguments against Mono. Does the Microsoft Community Promise change anything?

In my research for getting Banshee to compile for Windows, I stumbled on this post. It seems there still lives a LOT of suspicion towards Mono in the Linux community for being a timebomb Microsoft has put under FOSS. A few days back I read Microsoft released their Community Promise as to defuse these fears. Yet it seems not to be worth ...

PopupMenu in Gtk#.

I have a Gtk scrolled window that I'm trying to attach a PopupMenuHandler function too like so: this.scrolledwindow1.PopupMenu += HandlePopupMenu; and the HandlePopupMenu looks like so: [GLib.ConnectBefore] public void HandlePopupMenu(object o, PopupMenuArgs args) { Console.WriteLine("test"); Gtk.Menu mbox = new Gtk.Menu(); ...

DllNotFoundException using Mono P/Invoke: Why?

I keep getting DllNotFoundExceptions when trying to call my native library from C# (using Mono). I have a native library, for which I'm adding bindings. This is what I'm seeing: $ grep DllImport generated/NativeLibrawLoader.cs | head -n 1 [DllImport("libfspotraw.dll")] $ cat libfspotraw-sharp.dll.config <configuration> <dllmap dll...

How is the current performance of the Mono virtual machine?

The web is full of different kinds of performance test of different languages, compilers, and virtual machines. Yet hardly any of these test the performance using some real-world scenario. In addition, searching Google for these kind of benchmarks usually yields mainly only several years-old benchmarks as those have had the most time to ...

Does monodevelop 2.1+ support visual studio 2010 project files?

Does monodevelop 2.1+ support visual studio 2010 project files ... yet ... and if not does any one know when support is planned ? The reason I ask is that I have a solution that I use in both VS2008 and Monodevelop. When I open it in 2010 Beta I get the upgrade this solution wizard and I don't want to break my solution in Monodevelop by...

Will MonoTouch require a Mac to publish to the iPhone/iPod Touch?

I have never done any iPhone or iPod Touch development, much due to the additional need for a Mac to develop on, plus needing to learn Objective-C. With the announcement of MonoTouch now I can use .NET languages I am already familiar with, and develop on my Windows PC. However I am curious if I will still need a Mac to deploy and test ...

Using Precompiled .NET Assembly DLL in Mono?

We're currently testing Mono to see if our .NET DLLs will work for customers on Linux. Our DLLs provide components for Windows Forms. I placed the DLLs in the Debug directory, added the references, and created a class deriving from a Windows Form. The class had run fine standalone, but after I added the DLL references and created one ...

ASP.NET on a linux webserver

Can I host a asp.net application on a linux based webserver? Do they allow .net framework to be installed on linux? ...

How can PHP talk to a C# process running on mono?

I am coding a web application in PHP and it has some performance intensive parts that I'd like to rewrite in a compiled language. I know that I could probably get this done more easily just by writing a C++ extension for PHP, but I'm a bit too spoiled by managed languages like C#, so I'd like to avoid C++ if possible. If I wanted a PHP ...

What's the difference between ahead of time compiled code and natively compiled code

i came across ahead-of-time (aot) compilation in some writing by Miguel de Icaza about producing applications for iphone using mono. It sounds like what results is native code. Is this so or what is the difference? ...

.NET XMPP libraries under Apache, MIT or MS-PL licenses?

I am looking for a liberally licensed (MIT, X11, Apache, etc) version of the XMPP protocol for .NET and Mono. There are a handful of libraries under the GPL, LGPL and LGPL v2 for .NET and Mono, but none of those are suitable for the kind of application that I have in mind (integrating it with Mono's stack where we go for no-strings atta...

TextWriter.ReadToEnd vs. Unix wc Command

Hello. Another question re. Unicode, terminals and now C# and wc. If I write this simple piece of code int i=0; foreach(char c in Console.In.ReadToEnd()) { if(c!='\n') i++; } Console.WriteLine("{0}", i); and input it only the character "€" (3 bytes in utf-8), wc returns 3 characters (maybe using wint_t, though I haven't...

Statically checked design by contract

I recently got excited by the idea of statically check design by contract in .net 4.0 / Visual Studio 2010. However I was saddened to find out that it will only be available in Visual Studio Team System. http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx Are there any alternatives which give statically checked design by contract fo...

.NET/C# Drizzle database client

I am planning to use Drizzle in my next C# Mono app. Since there is no C# client available for Drizzle, I thought I would have a stab at writing my own by converting the Java client, and then making it work with DBLinq. Having seen the Java client, I realise that it's a longer job that I had anticipated, and I don't have the time. Bes...

Deploy ASP.NET MVC on Linux: Best Practices, Tools & Suprises

I'm wondering about best practices to develop ASP.NET MVC apps with an option to deploy on Linux. If you are creating these kinds of MVC apps, What Linux/Mono platform are you targeting? How much of the development are you doing on Windows and how much on Linux? Are you using an ORM to abstract the database? Which one? Are you running ...

Npgsql reader type cast error (was: mono does not serialize complex types well)

Hi, Am I right that serializing complex types is not implemented in Mono 2.4.2 yet, or have I made a mistake? When I call my remote function, I get an error message: Cannot cast from source type to destination type. at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessa...

Nunit .net vs mono

I have written a simple test application using asp.net mvc with C#. The application uses MySQL by using dblinq to generate linq to MySQL files and the application is working both in windows and linux. I have now started to use NUnit to test my code, mostly since I need to test if the code working under windows also will work in linux. M...

Installing mod_mono for ASP.NET on MacOSX Leopard

I'm trying to get mod_mono built and installed so I can start learning and working with ASP.NET on my Mac. My machine is running Mac OSX Leopard 10.5.7. The mono site (http://www.mono-project.com) says I need to install xsp, mono and mod_mono. Mono is installed and working. xsp built and installed fine. My configure output for mod...

Why am I getting this message on mono ? "warning FS0191: Could not determine highest installed framework version..." .NET"

I have installed Mono (version 2.4.2.1) on a Mac OS X (10.5.7) and i am trying to do some F# coding. The F# version i am using is 1.9.6.16. On the FSharp interpreter i am getting this strange message when i type some simple commands (like printfn): warning FS0191: Could not determine highest installed .NET framework version from Regist...