mono

Installing mod_mono may uninstall the PHP Apache module. Apparently they cannot co-exist

Why is it that installing mod_mono may uninstall the PHP Apache module? Apparently they cannot co-exist. What is the reason? Does anyone know why? ...

SqlMetal fails to create DBML from Sqlite Database

I'm trying to use the new Mono 2.6 SqlMetal tool to create the DBML file for a simple Sqlite Database. The schema is really simple as follows: CREATE TABLE Tags ( Id INTEGER PRIMARY KEY, TagName TEXT, Description TEXT); CREATE TABLE Trends ( TagId INTEGER NOT NULL, Timestamp ...

can any ASP.net app (or most of them) be made to run under Linux using Mono?

in other words, now that we have Mono, has C# become just as OS-agnostic as Java when it comes to server-side web applications? Or are there still big limitations having to do with what Mono can/cannot do or maybe with what libraries can be made available to a C# server-side app on Linux? ...

Is it possible to call from ruby to mono?

I work for a medium sized business integrating a moderate number of systems into one web application written in Ruby on Rails and running on Redhat. One of the functions of the application is to communicate with remote equipment. Some of the equipment I can communicate with directly, some I have to rely on the equipment reporting in to a...

In Mono, how do I get the path to the Documents folder on a Mac (Snow Leopard)?

I'm writing a Mono application and would like to find the full path of the Documents folder - e.g. /Users/johnsmith/Documents/. What's the best way to achieve this? ...

Invoke Flash methods from C# (MONO)

Using .NET (Windows), you can embed an ActiveX Flash player into a Windows form, load a swf file and set variables or invoke functions with single method calls from C# (I imagine because of the presence of a Flash OCX). That said, I would like to do the same thing in MONO (Linux): how could this be possible? ...

How to support linux for my C# project

Hello everyone, I have a project that is an open source application for a specific type of scientific calculation that uses c++ for the backend, and C# for the front end. I'm not doing anything windows specific in the c++ portion, so I'm hoping for a relatively small learning curve there. I have a few specific questions, and I would appr...

Mono under Jboss

I would just like to know if it is possible to run MONO APS.NET MVC under JBOSS? And if so how can I achieve this? thx ...

mono mkbundle windows

Hi, I've used mono mkbundle on cygwin, to compile a dot net app, and it works fine. I used the instructions from here http://stackoverflow.com/questions/1906843/c-cywgwin-mono-mkbundle-windows-7-cannot-compile-file The finished app will not run unless the following files (copied from the mono/bin) folder are in the same folder as the ...

How do I connect to a local Socket in C#?

I'm trying to adapt this python code I found for connecting to the Dropbox daemon: def connect(self, cmd_socket="~/.dropbox/command_socket", iface_socket="~/.dropbox/iface_socket"): "Connects to the Dropbox command_socket, returns True if it was successfull." self.iface_sck = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) self.sck...

Mono ASM Generation

I want to try write a simple kernel in C# like cosmos, just for learning. Is it possible to generate x86 or x86-64 ASM from a Mono assembly? because mono --full-aot generates an executable... After the generation of the ASM I need to compile it with NASM. Any ideas? ...

Mono Winforms application in Linux: some text is not displayed

In general, I have been having difficulties porting my .NET Windows Forms applications created in Visual Studio 2008 to Mono/Linux. The problem is that sometimes, some types of text do not get displayed; where I expect to see text there is just emptiness or illegible marks. On one Ubuntu machine, all the text was displayed correctly ex...

How to tell from a CIL instruction whether a field is read or written to?

I am currently using Mono Cecil to extract data from C# projects. Now I need to check whether a field is read or written to in each method. How can tell from the CIL instruction that a field is being read or written to? Cos I doubt there a library in Mono Cecil similar to Assignment in Eclipse's JDT that allows me to extract the left h...

Fully managed text editor component for .NET/Winforms

I'm basically looking for a replacement for RichTextBox or TextBox components that is fully written in c# without using pinvokes in order to keep cross platform compatibility. RichTextBox contains for example functionality to highlight URLs in the text and provide a handler for event when user clicks on the link. But there is no way to ...

Mono AOT Segmentation Fault - Strange Problem

I wanted to test Mono AOT, so I wrote a simple console application with MonoDevelop: using System; namespace abc { public class Program { public static void Main() { Console.WriteLine("Hello World!"); } } } It created a file named "abc.exe" in bin/debug. When I try to do: mono abc.exe it worked. S...

Is it possible developing a evolution (mail client) plugin in Java?

I have to write a plugin for Evolution and I'm studying the different possibilities. The documentation says that eplugin feature is independent from the language you choose but I've only seen Evolution plugins developed in plain C and a few in C#/Mono. I suppose that It's not possible using Sun VM because of GTK. Am I wrong? And, what...

Trying to avoid AppDomains

I have a long running C# server application running on Linux/mono, and I have added the ability to load DLL assemblies on the fly to extend the application. I have discovered updating those DLL assemblies at runtime cant be done without using AppDomains, which by the looks of will just get in the way of what I have already done. Sure t...

Debugging in Monodevelop on OSX not quite working

Hey guys, just installed on my Mac Snow Leopard OSX: Mono 2.6 and Monodevelop 2.2 I've created a simple C# Console App: public static void Main (string[] args) { Console.WriteLine ("Hello World!"); Console.Read(); } When I start to type "Console" intellisense works perfectly. When I run the app in Debug mode...

What's the right way to append a ToolButton to a Toolbar in Gtk?

Monodoc tells me "AppendItem" is deprecated, but it doesn't tell me what to use instead. ...

Does mod_mono need xsp to work or to work better?

I run an apache 2.2 web server to serve asp.net web applications with mod_mono. It works fine. But mono-xsp2 service running too.. Does mod_mono need xsp to work or to work better? I am asking that because xsp-server start running automatically on boot time. And I couldn't be sure if it is needed or not. Here is a screenshot of the p...