[Mono-list] VS.NET project built with Mono

Joe Audette joe_audette@yahoo.com
Thu, 12 May 2005 10:14:50 -0700 (PDT)


I build my solutions in VS.NET and deploy on mono.

The main things is that everything in the bin must be
compiled using Rebuild not just Build. If you are
using any third party dlls they also must be compiled
with Rebuild. Mono doesn't like incremental builds
that you get with normal Build.

Hope it helps,

Joe

--- Narcís Calvet <narcis@steema.com> wrote:
> Hello,
> 
> I have a quite complex project developed using
> VS.NET and I'd like to build it using Mono. The
> project complexity lies on that it has several
> references/dependencies. I've tried the following to
> build it without success:
> 
> 1) Using "mcs /target:library /out:MyProject.dll
> /recurse:\MyProjectFolder\*.cs
> -r:System.Windows.Forms -r:System.Drawing
> -r:System.Data". The first problem is that
> System.Windows.Forms doesn't exist on Mono and I can
> get through this.
> 
> 2) I've tried automake, autoconfig, ... But I found
> it really complicated to generate a reliable
> makefile for my project.
> 
> 3) I've used prj2make-sharp to convert my .csproj or
> .sln to a .prjx file but I got several errors.
> 
> Considering none of those options has brought me to
> a working solution, what would you suggest me? It
> may be that I need to adapt my project
> implementation to Mono capabilities? There's an easy
> way to build my project?
> 
> Thanks in advance!
> 
> Narcís Calvet

joe_audette [at] yahoo dotcom
http://www.joeaudette.com
http://www.mojoportal.com