mono

IPC mono <-> .NET?

I have two processes running on the same windows machine. One is using mono, the other is using MS .NET. What is the best solution for inter process communication? ...

running .net(mono) application in both linux and windows

I have created a c# application in ubuntu using monodevelop. It is running well in ubuntu. I tried to run that application(firstgtk.exe file created after running in ubuntu)in windows.But it showing error message.How can i make to portable in both linux and windows? The error message is: when i click the firstgtk.exe file, a command p...

Executing Application inside an archive file without extraction

I want to compress and encrypt my whole application, maybe with Zip, 7z, Bz2, Tar, or any compression method, and using AES-128/256 as encryption algorithm for security purposes. Then create a launcher application which will handle the execution of the application and decryption of the archive. I already have an idea on how to achieve i...

Visual Studio 2008 ASP.NET MVC 1 (3.5 framework) Application to Mono 2.4.4 on Apache 2.2.14-5 on Ubuntu 10.04 Deployment

This is my scenario: Development Environment: Visual Studio 2008, Windows 7 Deployment Environment:; Ubuntu 10.04, Apache 2.2.14-5, Mono-runtime 2.4.4.(mono-server2 for ASP.Net 2.0 applications) I have all the dependencies installed. I'm simply trying to create an ASP.Net MVC 1 web application in Visual Studio and deploy it to Apache wi...

Mono on embedded ARM experience?

I'm evaluating components for a new embedded platform. CPU is an ARM9 and OS is Linux. Because the platform will be in use at least for 10 years I think the language should be chosen carefully as well. I'm already running Mono on possible target platform. Beside that I'm to dumb to compile Mono with my Compiler (according to Google more ...

How to create a WCF service with Mono?

I have a WCF running on Windows. I'd like to deploy it - or at least test it - on a development server running SUSE and Mono. After asking about WCF examples in Mono on the IRC channel #monodev at GimpNet I've download the examples from the olive module in the subversion. No examples actually uses a Web.config file to create the servi...

How to step into Framework source code in MonoDevelop

While debugging a project in MonoDevelop how can I step into Mono Framework source code? I'm running the vanilla MonoDevelop from openSUSE 11.3. ...

DllNotFoundException libpjsipDll Mono

Hi everybody, I've a problem to execute a program with Mono in the terminal, (mono program.exe). An error appears : "System.DllNotFoundException : libpjsipDll.so " however my library exists and I've setted my 2 environment variables : LD_LIBRARY_PATH and MONO_PATH in the directory where the file is. I don't understand why this error o...

Does mono support DataContractSerializer with the preserveObjectReferences flag?

Hi all, I am trying to serialize a complex graph using c# mono (mono v2.6) the graph has bi-directional links and there are objects which create circular dependencies. After doing some reading I tried setting the preserveObjectReferences flag which should allow circular references to be set (this constructor): public DataContractSeria...

How do i check for mono on runtime

By default mono doesnt trust any SSL connections. So if running on mono i'd like to give a message rather then throwing an exception. How do i check if i am running under mono at runtime? (since at compile time the CLI wont know) ...

.NET on linux, ~/folder is wrong?

In .NET i am writing Directory.CreateDirectory(textBox4.Text); textBox4.Text is ~/myfolder. What i get is a folder in the current working directory called ~ with myfolder in it. How do i have CreateDirectory create myfolder at the user's home? ...

Why does Mono locks up on regex

This is the line mono on linux locks up (i am using 2.6.4 VM distro on the official site) var match = Regex.Match(sz, linkPattern); The string is this which gets the link and the title. var linkPattern = @"<\ba\b[^\>]*\bhref\b*=\b*""([^""\>]*)""[^\>]*\btitle\b*=\b*""([^""\>]*) by [^""\>]*"""; When mono hits that line it doesnt cras...

Mono problems with cert and mozroots

I am using this command on my mono VM sudo mozroots --import --sync It appears to be getting the cert from this site. I then try to connect to my ssl site and i get the exception that the cert is invalid. I use firefox and see the cert was issued in 2010. I looked at that file and see the last time its been updated was 2009-05-21 12...

Trying to compile x64 app on linux with mono gives PE32Plus error?

the full error is Error CS8088: Your .NET Runtime does not support `PE32Plus'. Please use the latest Mono runtime instead. (CS8088) (test) this is on a x86_64 linux system with mono and monodevelop installed as x86_64. This happens with any application I try to compile as x64 including an empty test program. I have mono 2....

Installing IronRuby on Mac

I'm trying to get IronRuby installed on a Mac and having trouble getting it to compile. If I try to build it using MonoDevelop or to compile it directly with xbuild, I get a messaging saying the compiler is crashing while compiling the Microsoft.Dynamic project. When I try to do the rake scripts, I get the message saying I need pkg-con...

ssh is insisting on reading the password from the console rather than stdin.

This is what I'm doing: ssh_ = new Process(); ssh_.StartInfo.FileName = SshProvider; ssh_.StartInfo.Arguments = "-t -t " + Environment.UserName + "@" + serverName_; ssh_.StartInfo.UseShellExecute = false; ssh_.StartInfo.RedirectStandardInput = true; ssh_.StartInfo.RedirectStandardOutput = true; ssh_.StartInfo.RedirectStand...

Changes to SQLite are lost after connection.Close()

Working with MonoTouch .NET for iPhone and SQLite on Mac OSX. I can read from the database no problem. However, when I attempt to make changes to the database, I get strange behavior. The code below runs without exception, but no real changes are being made to the database. I can create a table, insert a record, select that record, and d...

Webkit-sharp example applications.

Could anybody suggest a good open source (as in I can see the source, license irrelevant) webkit-sharp-based application? I've been wanting to jump into development with webkit-sharp and gtk-sharp, but I haven't found much of any documentation on webkit-sharp. I thought a good application example is as good as any documentation. ...

Mono ORM that works with PostgreSQL?

I've been trying to find a decent ORM that works with both Mono and PosgreSQL. Does anyone know of such an ORM? ...

Mono refuses to resolve relative paths in T4 template includes

Ok so I'm trying to hack together something to make SubSonic3 work with Postgres, on Mono. I almost have the templates generating but have ran into one small problem. <#@ include file="PostgreSQL.ttinclude" #> will give a "cannot resolve include file" error. However, specifying a full path will work(though cumbersome) <#@ include...