mono

Mono for OS X and Cocoa

I hear there are at least four different Cocoa bindings for Mono. The ones I know about are: Cocoa# (not maintained) Monobjc (http://www.monobjc.net/) NObjective bridge (http://code.google.com/p/nobjective/ mobjc (http://code.google.com/p/mobjc/) MonoMac (http://mjhutchinson.com/journal/2010/06/09/monomac_in_monodevelop) Does anyone ...

Installing Monodevelop from the SVN on Ubuntu 10.04

I wrote the following script to install the svn version of MonoDevelop #!/usr/bin/env bash PREFIX=/opt/local check_errs() { if [[ $? -ne 0 ]]; then echo "${1}" exit 1 fi } download() { if [ ! -d ${1} ] then svn co http://anonsvn.mono-project.com/source/trunk/${1} else (cd ${1}; svn ...

Mono: non-standard public method in Object class

Hi, Does anybody know what is the "obj_address" public method in .Net Object class Mono implementation? Thank you, Michael ...

file path/folder in ASP.NET under mono/linux

I copied all my resource into the main path with my aspx files. I also copied my js folder in there. With linux my webpage loads /test.js but not /js/jquery.js. How do i make mono find the path to query? -edit- Nevermind, i found a solution with rewrite. ~/App_Data doesnt work though. HttpContext.Current.RewritePath("/App_Data/" + fn...

.Net, C# and the Open source movement

I'm probably going to take some heat for this question. But I'd like to know how to address this problem. So here goes. I program (to different levels of competence - admittedly) in various languages. I have dabbled with C#, and it seems quite a nice language (reminds me A LOT of Java and C++). The problem is that I have what can only b...

How can I determine the file name that is being executed in a mono C# environment when the file was created with mkbundle2?

When running a C# application under mono with the "mono " command, the following works: var fileName = System.Reflection.Assembly.GetExecutingAssembly().Location; But after packaging the assemblies into a single file using mono's mkbundle2, the line above does not return the expected result. ...

NServiceBus 2.0 considerations when running on Mono and deployed to *nix

Is NServiceBus compatible with Mono? Are you / have you run NServiceBus on Mono? If so what issues did you run into? NServiceBus leverage's MSMQ by default. I know this can be swapped out for different transport technologies, so I would imagine an initial task may involve implementing a provided "IMessageQueue " interface (or somethi...

What transport technology is a viable alternative to MSMQ on Unix based system?

I am planning on experimenting with NServiceBus on Mono to be deployed on Unix based systems. NServiceBus leverage's MSMQ by default. This can be easilly swapped out for an alterntive transport technology. What I need to know is what are the alternatives to MSMQ on Unix based systems, and how to do they differ and what are the pros & c...

Gtk.Style.Font is obsolete?

Using gtk# on a cross platform application and trying to fix all the warnings, one of the warnings is that Gtk.Style.Font & Gdk.font is obsolete so can anybody point me to what replaced it? All the google hits I get tell me to use Gtk.Style.Font etc... so hopefully somebody can help me out. ...

Debugging with Mono Tools 2 beta on Visual Studio 2008 - getting "Failed to start XSP!" error

I'm trying to run a .NET web application through Mono. I'm using Mono Tools 2.0 beta on VS 2008 and trying to debug locally (directly on Windows). When I just "Run in Mono", the application launches fine -- even though I get a fatal exception which I'll deal with once I get debug mode working. But when I "Debug in Mono", I see the Mono...

Asp.net MVC2 in VB.NET on Mono

I'm having problems running MVC2. I've compiled defult MVC project and deployed it on working mono setup (MVC1 works without problems, but only as C#, VB.net MVC1 fails with a message similar to this one). When I try to access MVC2 web (VB.NET version, C# works) I get this message: Compiler Error Message: VBNC30456: 'RenderPartial' is ...

how to show progress dialog with Gtk# while loading data?

I have main window with button "open file". On clicking file selector dialog shows up and then file is loaded. I would like to show progress dialog while loading the data. However when I call Run dlg.Run(); load_data(); // not executed the execution stops there (I have to close the dialog to load the data), if I call Show dlg.Show();...

Is there an internet browser application that runs on mono?

Dear ladies and sirs. I am using KeePass on my Mac, it runs on Mono. However, there is no copy paste between mono and Mac apps. So, I am looking for a mono based internet browser, hoping that copy paste within the mono framework works fine. This question does not belong to SU, because I am willing to compile the application from the so...

Has anyone successfully implemented OpenID with Mono?

I am working on a web project where I'd like to use OpenID with Mono on Linux. DotNetOpenAuth has wiki on for configuring OpenID with XSP, but it also listed known issues that have yet to be resolved such as throw an error when using a https certificate. What has been your experience? ...

Mono and winforms control height issue

I have been testing my .NET windows applications with Mono on Ubuntu and noticed that my controls are always stretched in height. Width wise appears to be fine. I have a stack of 5 comboboxes that fit nicely within a panel, but with Mono on Ubuntu the comboxes are too tall and the last comboxbox is pushed into the boundary of the panel...

Programmatically find how much RAM available

Is there a portable way, that works on both .Net and Mono on the various supported operating systems, for a program to tell how much RAM (i.e. physical not virtual memory) is available in the machine it's running on? The context is a program whose memory requirement is "as much as possible please"; it needs to know how much memory it sh...

Linq does not work with MonoDevelop/Mono last version on Mac OSX 10.6.4

I'm trying to execute a simple test code: using System; using System.IO; using System.Linq; using System.Collections.Generic; namespace TestMono { public class TesterManager { public TesterManager () { Console.WriteLine("Test"); Path.GetTempPath(); foreach (var i in new int[]...

Using Mono 2.2.1 and Visual Studio 2010 simultaneously

I created a C# .NET 3.5 project with Visual Studio 2010, add some classes and forms and close it. After that I open the project with Monodevelop 2.2.1 and add some additional stuff and close ist again. Now when I reopen the project with Visual Studio 2010, the project conversion manager pops up and wants to convert the project. I analyse...

Is it possible to host a WCF service using Mono's XSP Web server?

I have made a very simple Asp.net web site with a WCF service - "Person.svc" - that runs fine when hosted on Asp.Net development server(visual web developer 2010), but if I host on Mono's XSP 2 and access some parse error is thrown. Can WCF services live inside a XSP Web site? ...

SQL Server timestamp column not supported in Mono?

I am trying to run a .NET command line application in Linux using Mono. It accesses SQL Server 2005 Express database and, when querying some data it throws the following exception: System.NotSupportedException: Unknown Type : timestamp at Mono.Data.Tds.TdsMetaParameter.GetMetaType () [0x00000] at Mono.Data.Tds.Protocol.Tds70.Write...