mono

Source Analysis tools for Mono

I'm after a source analysis tool that will run on mono ( think stylecopcmd ), stylecop has a number of holes that stop it working for me without gross hacking ( eg hard-coded to use "\" as a directory separator ) I am happy using gendarme to analyse assemblies but would like to check the source as-well. ...

Intensive graphics application in C# (with .NET/Mono)

Hi, If you were writing a 2d graphics intensive application in C# (like animation software or a music sequencer with automated graphics control), which one would be a better choice for graphics library? I'd like to develop a cross-platform application (at least portable on Windows 7, Linux), and I'd like to use only C#, avoiding mixing...

In MonoDevelop, how do I specify the target directory to be used when generating a package?

If I right click on the "Tarball" project, and go to Options > Files, I see some like this: There are a couple of problems here: "pkg-config folder" uses /usr/local/lib/pkgconfig, instead of /usr/lib/pkgconfig. MonoDevelop itself doesn't look in /usr/local/lib/pkgconfig for .pc files. This is a library, so I don't think I want it in...

MonoTouch and MVC - hook 2 Views to same Controller

I need to write an app that runs for iPhone and iPad. The issue I'm running into is how do you setup an iPadView and an iPhoneView to hook to the same controller? In other words, I don't want to have any duplicate controller code--I should only have to make a different view for each device. Right now I link up view->controller by ch...

What resources should I use to port my .NET application to Mono or Moonlight?

I have a few applications that might qualify for porting over to a Linux/Mac platform, but first I need to know what baseline of technology is safe for compatibility, what is marginal, and what is unsupported. Is there a consolidated list somewhere that helps me determine if my app even qualifies? What other resources should I be aware...

NHibernate SQLite on Mono concurrency problem: Database file is locked

I have an application I'm porting from MSSQL and .NET to SQLite and Mono. I'm using NHibernate, FluentNHibernate, NHibernateLINQ and SQLite. When I test the application with only one person connected everything works OK, but the moment somebody else starts using the app it breaks and throws an SQLite Exception saying "Database File is ...

Can I run .NET 4 programs on Mono?

Hi, Mono seems to support .NET 3.5 only, but does that mean I cannot run programs made with .NET 4 on it? ...

Using Mono.Addins local conditions

As described here how do you " register an instance of the ConditionType" on the AddinManager? ...

Free OLAP solution for .NET running on Mono / MySQL

I'm developing my university graduation project and I'd like to include an OLAP-based reporting module. In the past, I've used Mondrian with JPivot as an OLAP solution for Java projects and I'm looking for something similar using .NET. The tricky part is that my project should run on Mono and MySQL (installation environment is a Linux ...

Why can't I use C# 4 default parameters in Mono?

Mono works fine with my app, but when I try to compile a function like int Yo(int a, int b = 1) { // blah... } It doesn't work, it says that "Default parameter specifiers are not permitted" According to Mono's website The Mono C# compiler is considered feature complete for C# 1.0, C# 2.0 and C# 3.0 (ECMA). A preview of C# 4...

Is Mono a subset of .NET?

I know the converse is not true, but if my application works using Mono is it guaranteed to work if I switch to the real deal? If not, where can I find a list of caveats? ...

How to run ASP.NET MVC 2 (not 1 which is default)

This might be a stupid question but how to update System.Web.Mvc dll which is 1.0 right now? I'm using the latest Mono 2.6.7 and MonoDevelop 2.4. ...

Database for Moonlight

I'm looking for a local database for Moonlight. I checked EffiProz Silverlight database and it seems to work fine with moonlight Any other databases that work well with Moonlight? ...

Install Mono on Centos5.5 using YUM

I'm a Linux neophyte and can't figure out how to install the Mono 2.6.7 runtime on CentOS 5.5 using yum. I know how to build Mono from the source. However, according to this page it is possible to install the binaries directly. I'd prefer to install the binaries to avoid having to install all the devel pre-requisites on a server with ...

C# Regexp: How to extract $1, $2 variables from match

Currently .NET uses their own nonstandard capturing group naming convention which is a dog. I would like to enable the standard use of $1, $2 capture groups in C#. Is their any way of doing it, or if not, is their any thirdparty regexp engines available for use, which do implement that kind of functionality. ...

Linux: How to make a deamon/service usable with xinetd ?

Anybody knows what changes are necessary for a server to work with xinetd ? The server being a .NET mailserver that runs on Linux. See the bottom of this post for reference: Lumisoft Mailserver Forum Post Note: xinetd, not mono-service. [x]inetd is an internet superserver. A superserver starts a server service on demand. (As opposed t...

How do I catch FileNotFoundException when running on Mono and a DLL is missing?

I have a windows 7 x64 desktop with vs2010 and a virtual box installation of linux with mono and monodevelop. I compile the following program with vs2010 and run it in the linux virtual machine and it fails with a seemingly uncatchable FileNotFoundException. If I compile it in the virtual machine and run it in windows, it works great. ...

StreamReader ReadBlock hangs on binary files

I've got a little class that accepts a POST from a browser that contains file uploads. I'm using a StreamReader to read it in. I read the header, then when I get to the body, I get the content length and make an array of that size and then stream.ReadBlock() on that: char[] buffer = new char[contentLength]; stream.ReadBlock(buffer, 0, ...

Monodevelop warning "Could not generate code for widgets of type: xxxx"

About 2 years ago I worked on a C# project, using MonoDevelop V1 and later V2 (beta release, compiled from source, what a mission) under Fedora. The project went dead. Now I am bringing it back to life, but I have changed my development platform to Debian (testing, i.e. squeeze), which has MonoDevelop V2.2. I am mostly very pleased with...

Is there any method to run example.exe C# desktop application through double click in Mac OS X 10.4.8?

I can run example.exe from Terminal( "mono example.exe").And I can not do this through "Open With" option because it doesn't get mono application type to choose it. How can I do it double clickable? ...