[Mono-devel-list] NUnit 2.1 for Mono - status and questions

Gert Driesen gert.driesen at pandora.be
Sun Oct 19 17:05:15 EDT 2003


On Windows, NAnt actually determines the location of the mono binaries and
libraries from the registry and executes mcs (and other mono specific tools)
using mono.exe from that path

eg. c:\program files\mono-0.28\mono.exe c:\program files\mono-0.28\mcs.exe
.....

That way we can support multiple version of Mono on one system.  When you
use the mono.bat file to set the mono environment, you can only target a
single version of Mono...

However, this also means that, for the moment, you'll have to manually
execute the %windir%\monobasepath.bat batch file or add manually set the
MONO_BASEPATH, MONO_PATH and MONO_CFG_DIR environment variables ... However,
we could also automate setting these environment variables when we spawn the
mono process in NAnt... I'll look into this soon ...

There reason we didn't really look into this yet, is because we thought (and
I thing there was talk about this before) that Mono.exe would support using
the information in the registry for locating its libraries on Windows ...

Gert

----- Original Message ----- 
From: "Charlie Poole" <cpoole at pooleconsulting.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Sunday, October 19, 2003 8:37 PM
Subject: RE: [Mono-devel-list] NUnit 2.1 for Mono - status and questions


There is and it was working. Turned out my my problem was with NAnt. My nant
build uses .NET 1.1, but I thought it would still be able to target mono.
That wasn't the case. I'll ask about this on the NAnt list.

Meanwhile, my code is available for testing. I posted about this last night
but I still don't see it, so here's the location again:
http:\\charliepoole.org\downloads\nunit-mono-2.1.4.zip.
Please send me feedback on any problems either on the list or direct.

Charlie Poole
cpoole at pooleconsulting.com

> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com
> [mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Gonzalo
> Paniagua Javier
> Sent: Saturday, October 18, 2003 5:15 PM
> To: 'Mono Development'
> Subject: RE: [Mono-devel-list] NUnit 2.1 for Mono - status and questions
>
>
> El sáb, 18-10-2003 a las 20:15, Charlie Poole escribió:
> > I installed that one, but mono.exe can't locate assemblies in the lib
> > directory.
> >
> > I'll review the steps to see if I missed anything and also try it on a
> > Windows 2000 system - I used XP initially. But if I can't get it to work
> > in a few hours, I'll just make my nunit source available for others to
> > try and deal with it some other time.
>
> I think that there's a mono.bat which sets the environment variables
> needed to locate the assemblies.
>
> -Gonzalo
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list





More information about the Mono-devel-list mailing list