[Mono-list] RE: Problem with Regex

Chris J. Breisch cjbreisch@altavista.net
Sat, 18 May 2002 06:03:40 -0500


Yep, that fixed it.  Thanks.  I had to modify the .build file for
M.VB.dll to copy System.dll into the Test directory too.  Now my tests
run fine.  It's very odd though.  I have 20 tests, and 19 of them ran
successfully without that.  Only this one using Regex failed.

			-chris

Chris J. Breisch, MCSD, MCDBA



-----Original Message-----
From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com] On
Behalf Of Dan Lewis
Sent: Saturday, May 18, 2002 3:45 AM
To: mono-list@ximian.com
Subject: Re: [Mono-list] RE: Problem with Regex

On Sat, 2002-05-18 at 06:20, Chris J. Breisch wrote:
> Hmmmm.actually, I can't seem to get ANY Regex to work using our
> System.dll

That means the execution engine can't locate the assembly you've linked
with
(in this case, System.dll)

When it finds an assembly reference, the Microsoft runtime looks in
three
places: (1) the global assembly cache, (2) the application's current
directory,
(3) locations specified in the application's config file.

So the quickest way to make it find the Mono System.dll is to copy it to
the
same directory as your test.exe file.

Dan.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list