[Mono-list] RE: Problem with Regex
Chris J. Breisch
Sat, 18 May 2002 06:42:31 -0500
No, I had just copied another set of .build files that referenced the
System.dll as /r:../lib/System.dll rather than using /r:System.dll, so I
figured that was what I was supposed to be doing. I just now followed
your suggestion, and of course it worked flawlessly.
Seems odd that I could've written 19 other tests without referencing
anything from System, but maybe I did. Probably everything I referenced
was in mscorlib. Will have to check on that.
Chris J. Breisch, MCSD, MCDBA
From: firstname.lastname@example.org [mailto:email@example.com] On
Behalf Of Dan Lewis
Sent: Saturday, May 18, 2002 6:27 AM
Subject: RE: [Mono-list] RE: Problem with Regex
--- "Chris J. Breisch" <firstname.lastname@example.org> wrote:
> 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.
Perhaps only that one test used anything from System.dll.
NickD will probably be able to advise you on the best way to set up your
suite. Is there a particular reason why you want to test Mono's M.VB.dll
together with Mono's System.dll on Windows, instead of using Microsoft's
Unless you are seeing a difference in behaviour running the tests under
full Mono runtime compared to under MS.NET, perhaps it would be best
linking against Mono's M.VB.dll to help isolate the problems the tests
only copy Mono's Microsoft.VisualBasic.dll into the test directory,
csc /noconfig /r:.\Microsoft.VisualBasic.dll /r:System.dll test.cs
This should grab M.VB.dll from the current directory, and then picks up
corlib.dll and System.dll from the GAC.
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
Mono-list maillist - Monoemail@example.com